每天学一点 05.12.2018

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.

  1. It provides strong authentication and secure communications over insecure channels.
  2. 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.
  3. 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.
  4. SSh also uses a public kez for the authentication of users accessing a server and it is a great practice providing us extreme security.
  5. 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.
  6. When using ssh login (instead of rlogin) the entire login session, including transmission of password, is encrypted.

Diefferences between SSH and Telnet

  1. SSH is more secure compared to Telnet
  2. SSH encryptes the data while Telnet sends data in plain text
  3. SSH uses a public key for authentication while Telnet does not use any authentication
  4. SSH adds a bit more overhead to the badwidth compared to Telent
  5. Telnet has been all but replaced by SSH in almost all uses
  6. 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 =)

你可能感兴趣的:(远程访问,Linux,Linux)