LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 05-02-2002, 12:21 PM   #1
Rampage2884
Member
 
Registered: Mar 2002
Posts: 84

Rep: Reputation: 15
Possible to telnet to SSH server or vice versa ?


Curious if it is possible to telnet into a SSH server or SSH into a telnet server ?

If so, how would you do this ?
 
Old 05-02-2002, 02:31 PM   #2
Mik
Guru
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Gentoo + LFS
Posts: 1,316

Rep: Reputation: 46
The ssh port is 22 if I remember correctly, so just run:
telnet hostname 22

Ofcourse once you are connected you'll need to be able to do a few calculations to complete the threeway handshake. But if you are a master at cyrptography algorithms then I'm sure you can keep up with that. After that you can use the common secret in combination with your private key to send data to the server and you can use the servers public key to decrypt the data from the server. If you got that far then you are talking to the ssh server through telnet.

If you ssh into a telnet server then the ssh client and the telnet server will just both be confused because they are both speaking different languages.
 
Old 05-02-2002, 02:32 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,121

Rep: Reputation: 121Reputation: 121
telnet and ssh are really kind of different... if a server is only running telnet, you couldn't ssh into it and vice versa from my understanding... but ssh might be able to understand telnet. never tried really..

Last edited by trickykid; 05-02-2002 at 02:33 PM.
 
Old 05-03-2002, 03:00 AM   #4
growler
Member
 
Registered: Apr 2002
Posts: 84

Rep: Reputation: 15
like Mik says, basically no....

though telnetting into port 22 will show you what ssh protocol the sshd is using - possibly useful info.
 
Old 05-04-2002, 10:31 AM   #5
Rampage2884
Member
 
Registered: Mar 2002
Posts: 84

Original Poster
Rep: Reputation: 15
oops, forgot about this thread, too much studying lately.

Anyways, thanks for the helpful info guys, i'll check it out now and see how that goes.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
m1 can ping m2, but not vice versa cmacklin Linux - Networking 4 10-31-2004 08:01 PM
ssh from windows to linux and vice versa pyromania Linux - Networking 6 04-14-2004 03:17 PM
KDE under Gnome, or vice-versa Pres General 7 02-01-2004 10:18 AM
seeing windows files in linux and vice versa shycalais Linux - Newbie 5 09-10-2003 09:05 AM
Installing packages on linux clients thru windows server or vice-versa balpeck Linux - General 1 09-01-2003 10:26 AM


All times are GMT -5. The time now is 02:27 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration