Click to See Complete Forum and Search --> : Telnet question
sdunn
01-23-2001, 03:02 PM
I want to be able to telnet into a box without having to type in the user name and password each time. I know I have to put this in the user profile, but I do not know the correct syntax to do this.
I tried
telnet 216.0.0.0 -l username password
but this did not work. Does anyone have any other suggestions? I am using Redhat 6.2.
mindwarp
01-23-2001, 03:14 PM
Try doing a man on rlogin... that might be more what your looking for.. uses trusted hosts
Mindwarp
------------------
"I'm born. I'm alive. I breathe. In a moment or two I realize, that the sphere, upon which I reside, is asleep on its feet. should I go back to sleep? We orbit the sun. I grow up. my open eyes see...A zombified, somnambulist society. Leaving us as vitamins for the hibernating human animal. Do you see what I mean?"
cotfessi
01-23-2001, 03:33 PM
just a reminder that telnet isn't that secure... might want to look at ssh?
sdunn
01-23-2001, 03:39 PM
Here is exactly what I want to do:
I have a linux box on zoomtown with a sco/unix box on the network with the linux box. I want to be at a different computer and be able to telnet into the linux box and be taken automatically into the sco box. We are trying to save some steps. Which would be better telnet or ssh or maybe even something else?
mindwarp
01-23-2001, 03:49 PM
Are you trying to forward ports?
Mindwarp
------------------
"I'm born. I'm alive. I breathe. In a moment or two I realize, that the sphere, upon which I reside, is asleep on its feet. should I go back to sleep? We orbit the sun. I grow up. my open eyes see...A zombified, somnambulist society. Leaving us as vitamins for the hibernating human animal. Do you see what I mean?"
sdunn
01-23-2001, 03:53 PM
I don't really know what you mean. My telnet port on linux is 8010 and the telnet port on Sco is 23.
The King Ant
01-23-2001, 08:22 PM
telnet -l username 216.0.0.0
That will connect you with the username, but you will still have to enter your password again.
Port forwarding might be what you want.
Basically the Linux box would get an incoming connection on the telnet port (23) from wherever, and then it would just forward it on to the SCO box. So anything you send to port 23 would be sent on to the SCO box.
It shouldn't be too diffult to set up if you're already using IP Masquerading. I think you should search around for "ipportfw" Maybe try freshmeat.net, yahoo.com, google.com, and possible the Documentation that comes with the kernel source.
Oh yeah, instead of using telnet, if you used ssh you could use public/private keys to connected from one computer to the other when you login and you wouldn't have to re-enter your password or anything. You'd need an ssh serveron the SCO box and an ssh client on the Linux box. To figure out the key stuff, just read the ssh docs. www.openssh.com (http://www.openssh.com) or www.ssh.com (http://www.ssh.com)
sdunn
01-24-2001, 09:06 AM
thanks for all the info guys i will let you know what i get to work.