LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2003, 01:39 AM   #1
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Rep: Reputation: 15
Telnet ?


hi guys , i've tried to telnet to a shell account on my RedHat 8, but in the terminal it says .....
trying to connect to ...........
then connection to host is refused !

what does that mean , i can telnet to the same host from windows telnet , btw i didn't open any special terminal shell or something, i just runned my usual terminal so am i missing something

or is it maybe something with the connection ?

plz help as i must really use telnet alot
 
Old 08-26-2003, 03:38 AM   #2
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
you probably are being blocked by a firewall. Or telnet is not running as a service,

Use ssh instead, and if your on a windows box, go find a utillity called putty.... you'll love it. This also is better for security as your connection is encrypted,

Hope that helped

you can use ssh to di everything you could with telnet, without worrying about hackers.

ssh hostname (return)

or ssh -l username hostname

Last edited by Evilone; 08-26-2003 at 03:40 AM.
 
Old 08-26-2003, 03:39 AM   #3
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
dont use telnet, telnet sends your password over the network in plain text, wide open. anyone with a downloadable packet sniffer (some versions of linux come with ethereal) can see your password information and it actually displays it as:

user: Username
pass: password

(i've see it done).


instead use ssh. if you need an ssh client for windows, download putty:

http://the.earth.li/~sgtatham/putty/.../x86/putty.exe

no installatoin required, just put taht on your desktop and you can use that to connect to your Linux system.


to ssh from linux to linux:


ssh user@host

example, if u are trying to ssh to you linux box at 192.168.0.3 and login as the user "tux" then u would type:

ssh tux@192.168.0.3

Last edited by Robert0380; 08-26-2003 at 03:43 AM.
 
Old 08-26-2003, 03:41 AM   #4
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
yup yup yup
 
Old 08-26-2003, 04:14 AM   #5
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Original Poster
Rep: Reputation: 15
u mean guys , that i can't use telnet with a bash ?
 
Old 08-26-2003, 04:15 AM   #6
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Original Poster
Rep: Reputation: 15
and btw how can i run telnet as a service?
 
Old 08-26-2003, 09:05 AM   #7
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Original Poster
Rep: Reputation: 15
can i connect to a remote system using telnet from typing the command telnet XXXXX.XXX in the regular terminal
in a bash shell ??

and if a telnet isn't secure
what is the best alternative in UNIX ?
 
Old 08-26-2003, 10:07 AM   #8
hamoksh
LQ Newbie
 
Registered: Jul 2003
Distribution: SlackWare - RedHat - SuSE
Posts: 26

Original Poster
Rep: Reputation: 15
well when i read the posts i found the prefered service is the (putty)

but sorry i really can't understand why it doesn't connect
while it does in windows


offcourse this does not give any credit for MS (hehehehhee )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I setup telnet on Fedorac1 so I can telnet to it from winxp? mman49 Fedora 6 05-02-2004 12:40 PM
can not telnet localhost 25 but telnet dowell.exper.dynserv.com 25 exper Linux - Software 0 02-25-2004 05:13 AM
Telnet localhost and telnet IP seb77 Linux - Newbie 4 10-15-2003 03:15 PM
enable telnet but can't telnet from the computer guanyu Linux - Networking 8 08-26-2002 06:34 AM
telnet local but no-telnet via internet blacksheep Linux - Networking 7 11-26-2001 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration