LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2006, 08:56 PM   #1
s0n|k
Member
 
Registered: Feb 2006
Distribution: RHEL4
Posts: 80

Rep: Reputation: 15
Netcat


I need to perform reverse telnetting from work with netcat. How can I make a cron line that will connect to my home at say 6 pm?
 
Old 04-11-2006, 04:01 AM   #2
spanishwasabi
LQ Newbie
 
Registered: Mar 2006
Location: Spain
Distribution: Ubuntu
Posts: 25

Rep: Reputation: 15
Hi,

Read The Fine Manual:
http://www.webmasters-central.com/t/cron.shtml

A line like this should work:
* * 18 * * 1-5 /path/to/your/command

G
 
Old 04-12-2006, 03:39 PM   #3
s0n|k
Member
 
Registered: Feb 2006
Distribution: RHEL4
Posts: 80

Original Poster
Rep: Reputation: 15
I don't see how that would work. I need to make netcat connect to an outside machine and start a reverse telnet. Are you sure this is what I need?
 
Old 04-16-2006, 06:16 PM   #4
spanishwasabi
LQ Newbie
 
Registered: Mar 2006
Location: Spain
Distribution: Ubuntu
Posts: 25

Rep: Reputation: 15
Mmm... did you try it? :-P

Seems like a cron line is a good solution if we believe the following article (look at the end):
http://www.onlamp.com/pub/a/onlamp/2...29/netcat.html
Give it a try and if it does not work, we'll look at something else.

By the way, reverse telnet from work... it looks a bit insecure to me... are you sure you want/can do it?

Good luck,

G
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stunnel and netcat?? scoobydude Linux - Networking 0 05-25-2005 02:43 AM
netcat question overbored Linux - Software 13 10-30-2004 05:26 PM
building netcat fowlerlfc Linux - Newbie 0 09-28-2004 09:50 PM
how to install the netcat? bin_shell Linux - Security 1 03-11-2004 11:24 AM
netcat installation Ilektro Linux - Networking 1 02-10-2003 06:14 PM


All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration