Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.