Find the answer to your Linux question:
Results 1 to 5 of 5
I'm setting up my first webserver using Debian and I ran into a little snag. I need telnet to work on the system but as of yet I don't have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Maryland, USA
    Posts
    103

    Telnet Debian


    I'm setting up my first webserver using Debian and I ran into a little snag. I need telnet to work on the system but as of yet I don't have any luck.

    I keep getting responses like this
    Code:
    root@ubuntu:/home/aeuzent # telnet 192.168.123.133
    Trying 192.168.123.133...
    telnet: Unable to connect to remote host: Connection refused
    root@ubuntu:/home/aeuzent # telnet aeuzent.ftpaccess.cc
    Trying 68.50.51.192...
    telnet: Unable to connect to remote host: Connection refused
    I'm sure there's just some config file that needs editing. I appreciate any help I can get.

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    telnet is very unsecure. might I suggest SSH.

    works similar and IS secure. if you are using windows to connect then get putty (google search)

    I am sure debian already has ssh up and running also

  3. #3
    Linux Newbie
    Join Date
    Jan 2005
    Location
    Maryland, USA
    Posts
    103
    No actually that one's out too

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    is your networking working on this install. I am pretty sure that even with the debian minimal install gets ssh up and running

    are you trying to connect from windows or from a linux machine?

    is this a machine that you have setup or is this a webhost?

    if its a webhost then have they granted you ssh or telnet permissions?

    to see what ports are open on this machine try a network scan using something like nmap.

  6. #5
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,917
    To turn on telnet, edit /etc/xinetd.d/telnet and change the disable= line to 'no'. As others have said, telnet is insecure. It's fine inside your own lan, but if the server faces the internet, dont use it.

    To use SSH you need to start the ssh service. Edit the config (/etc/ssh/sshd_config) to be how you want it, then start the ssh service with:

    service start sshd

    You can then log in. Once you have set up your keys at client and server end, you should turn off password-only access for extra security.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •