SSH & Telnet
SSH: Secure SHell
SSH is now only major protocol to access the network devices and servers over the internet. It is a program to log into another computer over a network, to execute commands in a remote machine, and to move files from one machine to another.
- It provides strong authentication and secure communications over insecure channels.
- SSH runs on port 22 by default; however it van be easily changed. SSH is a very secure protocol beacause it shares and sends the information in a encrypted form which provides confidentiality and security of the data over an un-secured network such as internet.
- Once the data for communication is encrypted using SSH, it is extremely difficult to decrypt and read that data, so our passwords also become secure to travel on a public network.
- SSh also uses a public kez for the authentication of users accessing a server and it is a great practice providing us extreme security.
- SSH protects a network from attacks such as IP spoofing, IP source routing, and DNS spoofing. An attacker who has managed to take over a network can onlz force ssh to disconnect.
- When using ssh login (instead of rlogin) the entire login session, including transmission of password, is encrypted.
Diefferences between SSH and Telnet
- SSH is more secure compared to Telnet
- SSH encryptes the data while Telnet sends data in plain text
- SSH uses a public key for authentication while Telnet does not use any authentication
- SSH adds a bit more overhead to the badwidth compared to Telent
- Telnet has been all but replaced by SSH in almost all uses
- SSH and Telnet commonly serves the same purpose
Lastly, there are some SSH clients, the software that you can use to setup a connection with the SSH server available for all the major operating systems and tablet operating system:
- Mac OS & Linux: built-in, available in Terminal
- Windows: Putty, others
- Andriod: JuiceSSH, others
- iOS: Prompt, others.
The new sercury alternative:
ftp -> sftp
telnet -> ssh
rcp-> scp
Syntax:
ssh user@hostaddress
Example:
ssh kps@srv03
Have a nice Day & Have fun =)