How to connect to other linux machine OS from windows through Telnet command

networkingtelnet

I wanted to connect to my Linux OS (specifically for Terminal prompt), through my Windows OS.

I have Linux configured through a virtual machine, as well as through a separate partition.

How can I connect to Linux OS from windows command prompt? How is it possible?

I have seen at a place somewhere, they had Unix/Linux Server at some place, and they connect their Windows PC to the Linux server (e.g. telnet 123.23.34.5), it asks for user credentials and then they recieve the $ prompt, where they can use vi editor and execute all unix commands. What is the process behind this type of configuration?

Please share your thoughts.

Thanks.

Best Answer

Unless you really need telnet for some unusual reason, don't use telnet for this.

SSH can provide the same environment, but provides encryption and plenty of other useful features. Telnet on the other hand provides no security at all, passwords are sent in plain text. Certainly, I wouldn't even consider allowing telnet outside of a home lan or other secure network.

Various windows ssh clients are avaliable, putty being one of the more popular ones. It doesn't require any installation or admin privileges to use.

All linux distros will come with an ssh server, although some (like ubuntu) won't install it by default. Installing the ssh server packaged by your distro will generally do all the setup for you, there's no manual configuration required unless you want to change the default settings (usually, to add stuff like security restrictions). There's already a few questions on SF about how to secure your ssh server.

Telnet servers should also be available packaged for your distro, but, please strongly consider the alternatives before choosing that option.