Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-15-2007, 10:35 PM   #1
LQ Newbie
Registered: Sep 2007
Posts: 6

Rep: Reputation: 0
ssh and telnet

Hi guys,
I am new to this field, please tell me the difference between telnet and ssh besides that ssh is very much secure in transferring passwords over the network.
Can we remote login from linux to MS windows through ssh?
Can we do the same using telnet?
Old 10-15-2007, 10:56 PM   #2
LQ Newbie
Registered: Aug 2007
Posts: 6

Rep: Reputation: 0
Old 10-15-2007, 11:15 PM   #3
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
No idea about windows.

ssh is encrypted, so the data which is sent accross the network is not visible to someone who can intercept the network traffic. The most pointed example of this is then you log into the network - with telnet, anyone who can listen to the network traffic can see your password (e.g. anyone who shares your LAN). With ssh, they cannot see your password.

Moreover, ssh offers lots of funky features which telnet does not. Important among these are public key authentication and port forwarding. RFCs are a good source of further information. Google for "rfc ssh" and "rfc telnet".
Old 10-16-2007, 12:34 AM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,339

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
So long as you've got an ssh client on the src box and an ssh server listening on the target box, you should be able to login.
Ditto for telnet...
FYI, ssh is port 22, telnet is 23
Old 10-16-2007, 01:25 AM   #5
st lawcire
LQ Newbie
Registered: Oct 2007
Location: Honolulu
Posts: 1

Rep: Reputation: 0
SSH offers many advanced options as well. My favorite is the use of tunneling. If you modify your config (/etc/ssh/sshd_config) setting GatwayPorts yes you can create encrypted tunnels for other services like VNC for example. I use it as fall back if my primary VPN system should require attention when I am at a remote location.


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
telnet/ssh ConfusedMonkey Linux - Software 1 02-20-2006 04:47 PM
X over SSH then telnet JSkalka Linux - Security 5 11-21-2003 05:19 PM
Telnet, ssh, etc. mrozkan *BSD 1 07-18-2002 12:55 PM
Telnet and SSH Rampage2884 Linux - Networking 3 04-30-2002 03:31 PM
Telnet / SSH Seph Linux - Security 2 07-13-2001 10:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration