LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 07: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, 03: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, 02: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, 05: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



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 01:43 AM
netcat question overbored Linux - Software 13 10-30-2004 04:26 PM
building netcat fowlerlfc Linux - Newbie 0 09-28-2004 08:50 PM
how to install the netcat? bin_shell Linux - Security 1 03-11-2004 10:24 AM
netcat installation Ilektro Linux - Networking 1 02-10-2003 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 AM.

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
Open Source Consulting | Domain Registration