LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-17-2001, 04:03 AM   #1
cheshire
LQ Newbie
 
Registered: Mar 2001
Posts: 4

Rep: Reputation: 0
Question


Hi!

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?
 
Old 03-17-2001, 05:22 PM   #2
bretthoward
Member
 
Registered: Mar 2001
Location: Klamath Falls
Posts: 62

Rep: Reputation: 15
Take a look in your hosts.deny file if I remember right they put a line or two in there that bans pretty much everyone!
 
Old 03-18-2001, 03:03 AM   #3
cheshire
LQ Newbie
 
Registered: Mar 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Exclamation hosts.deny is empty

my /etc/hosts.deny file is empty. any other thoughts?
 
Old 03-19-2001, 05:58 AM   #4
bretthoward
Member
 
Registered: Mar 2001
Location: Klamath Falls
Posts: 62

Rep: Reputation: 15
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!

Hope this helps....
 
Old 03-19-2001, 10:00 AM   #5
cheshire
LQ Newbie
 
Registered: Mar 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Wink No telnetd

Hey,

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?

 
Old 03-19-2001, 12:54 PM   #6
bretthoward
Member
 
Registered: Mar 2001
Location: Klamath Falls
Posts: 62

Rep: Reputation: 15
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!

 
Old 03-20-2001, 12:11 AM   #7
cheshire
LQ Newbie
 
Registered: Mar 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up Ahhh, that worked!

Thanks for the tip. That worked.

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?

Thanks again for all your help!
 
Old 03-20-2001, 04:39 PM   #8
bretthoward
Member
 
Registered: Mar 2001
Location: Klamath Falls
Posts: 62

Rep: Reputation: 15
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'.

This should help ya out!
 
  


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
Can't telnet into RH 8 box Eric3 Linux - Networking 15 11-03-2005 02:51 PM
Telnet refused by my linux box murphaph Linux - Networking 10 04-02-2004 01:53 PM
How do i setup telnet on a slackware box digital bots Slackware 15 03-02-2004 01:32 PM
How can I telnet to a RedHat box? yuzuohong Linux - General 3 09-28-2002 11:17 AM
telnet into a linux box todd499 Linux - Networking 13 11-24-2000 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12: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
Open Source Consulting | Domain Registration