Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Mandrake 7.2, full install, and I can't seem to telnet into my system, even using localhost. I get an error message that says, basically, Connection Accepted, Escape Character..., Connection closed.
My telnet is uncommented in my /etc/inetd.conf. Any thoughs?
I'd have to look more into it.... You could look in your inetd.conf file and figure out what it runs to start the telnet daemon and then try to do that manually and see if it is actually starting. Another option (and the one that I would go with) is to install SSH on the system. The first thing I do to a system that I want to keep somewhat secure is disable FTP and telnet and then install SSH on the system. This is like FTP and Telnet with encryption between you and the server. One of the main reasons I do this is because I am on a very heavily populated LAN (in a college dorm at an Engineering Technical School) and the plain text password transmission techniques used by FTP and Telnet are just unacceptable.
I don't know that much about Mandrake I've only seen a friend of mine operate it for a few minutes! Just long enough to go hrm.. It looks like RedHat and then move on in my life!
Actually when I checked my /var/log/secure after trying to telnet in, I discovered that telnetd was never installed. Odd. Anyways, I agree with you about SSH. I've installed SSH2, but I'm not sure how to start up sshd2. I've checked their web site but couldn't find anything. Any hints?
sshd2 in the /usr/local/sbin directory is the executable to start the daemon and I just added a few lines that say:
#########START SSHD
/usr/local/sbin/sshd2
into /etc/rc.d/rc.local file (at the bottom) so that I didn't have to start it manually again if the system was rebooted. It will just load on boot. Then after that its all installed and running. Keep in mind you have to have an SSH client to connect to it!
The only problem I have with using ssh is that I have to type the full path to it, ie: /usr/local/bin/ssh2 to get it to start. How can I make it so that I can just type "ssh2" from my home directory?
Well you can either just go to your home folder and type ./sshd2 which actually means <current folder>/sshd2 or you can go to your homefolder and edit the file .bash_profile (you wont be able to see it unless you do an ls -a) a means all! Then you can add ./ into your path statement. Remember that these path entries are separated by Colons ( : ) not semi colons like Windozes'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.