每天学一点 05.12.2018

本文详细比较了SSH(Secure Shell)与Telnet两种远程登录协议。SSH提供了比Telnet更安全的数据加密方式,使用公钥进行用户认证,保护网络免受IP欺骗等攻击。SSH在几乎所有应用中已取代Telnet,成为主要的网络设备和服务器访问协议。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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 =)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值