The common answer to such questions is to use a secure shell and use SSH. The only drawback is that SSH is not a shell; it is actually a protocol often referred to SSH1 and SSH2: two different versions of the same protocol, incompatible with each other. Actually, nowadays, we are mostly dealing with SSH version 2 and OpenSSH server; it is the server program from the OpenBSD Project, which is available for a number of platforms.
What are the benefits of SSH and why should we use it? Short story long, SSH grants three main facilities:
- Authentication: This means it can make us sure of the identity of the other party. So, when someone tries to connect to our SSH server, the server will be able to obtain a digital proof of identity of the remote party prior to giving it access to the system.
- Encryption: Older protocols such as Telnet and FTP are nice and easy to use,...