![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| like ssh telnet | Kostantinos | UNIX for Dummies Questions & Answers | 2 | 02-05-2007 10:57 PM |
| Autologin | V.V.KUMAR | Linux | 1 | 12-20-2006 05:49 AM |
| sftp/scp autologin | devid | UNIX for Dummies Questions & Answers | 8 | 01-27-2006 03:38 AM |
| Telnet | vtran4270 | UNIX for Advanced & Expert Users | 1 | 09-16-2002 11:17 AM |
| telnet | krishna | UNIX for Advanced & Expert Users | 4 | 11-13-2001 02:04 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I am interested in logging into some systems via telnet automatically. I do not want to send any username & password by hand or by script. Security is not an issue. It is just a home network. How do I do it ?. Is there any file that telnet daemon reads and configures itself to allow auto login ?? I expect the session to be like this. telnet 192.168.1.50 root# |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
You could do this, with difficulty, but why not just set up key based ssh?
|
|
#3
|
|||
|
|||
|
If security is not an issue why have passwords?
|
|
#4
|
|||
|
|||
|
Many Windows based telnet clients allow automated login scripts.
'rlogin' that will allow you to log into a second unix system, with out reguiring a userid and password, if the user (either implicitly or explicitly) appears in hosts.equiv Is rlogin available in Linux? Last edited by jgt; 07-30-2007 at 01:18 PM. Reason: Realized question related to Linux rather than Unix |
|
#5
|
|||
|
|||
|
Are you serious? Historically, where did rlogin originate?
However, rlogin, rcp, rsh, rcmd are all really superceded by the ssh family. You will get better milage understanding how to set up ssh keys than messing around with hosts.equiv and similar. |
|
#6
|
|||
|
|||
|
Actually guys, whenever, I ask about telnet, I get slapped back to SSH
What is the use of SSH on computers that are used for studying & get wiped(by me) every other creepy day I found a quick & dirty solution. 1> setup busybox 1.6.1 with telnetd selected [make menuconfig, make, make install] 2> #./busybox telnetd [as root] Telnet from anywhere to your machine. Viola!, you get root access to your machine Hope it helps somebody too Still, I would like to learn, the vanilla method of getting it done |
|
#7
|
||||
|
||||
|
The reason the ssh is suggested is not just a question of security, there are a whole load of reasons.
1. Normally security is important for the person who asks these questions and they just doesn't realize that yet. 2. What you are doing is a bad habit to get into, do things the right way first so at least you know how to when you actually need to. 3. ssh will allow you to specify commands at the command line and run them, without needing to wait for a login shell to type them 4. You won't need a password, but anyone else who tries to get in will. 5. With ssh + key you get all the other useful features like passwordless sftp, scp and the tunneling capabilities of ssh. 6. You can keep the key on the machine you are not wiping, and copy it across after a reinstall < 15 seconds to get password free login. I could go on but I don't think there is much need, and I know which option I would choose, not only because it better, but because it is easier. |
||||
| Google The UNIX and Linux Forums |
| Tags |
| linux |
| Thread Tools | |
| Display Modes | |
|
|