xshell
mobaXterm
原生ssh命令
ssh user@ip -P 2022 [ cmd ]
默认端口22端口
是加密的。 RSA非对称加密方法
公钥和私钥的问题
ssh: 通过ssl协议,连接服务器,登录完成运行一条命令,结束。如果后面不带命令,那么默认启动该用户下的默认的shell。
Microsoft Windows [版本 10.0.22621.2428]
(c) Microsoft Corporation。保留所有权利。
C:\Users\Andy>ssh root@192.168.10.200
The authenticity of host '192.168.10.200 (192.168.10.200)' can't be established.
ED25519 key fingerprint is SHA256:g5Q7gaGJPiom4BzifysiPDf43TVUTzI7v+Ury4rzcD4.
This host key is known by the following other names/addresses:
C:\Users\Andy/.ssh/known_hosts:1: 192.168.10.133
C:\Users\Andy/.ssh/known_hosts:10: 192.168.10.3
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.10.200' (ED25519) to the list of known hosts.
root@192.168.10.200's password:
Last login: Thu Nov 23 18:25:09 2023
[root@localhost ~]#
reboot
shutdown
poweroff
作者:严锋 创建时间:2023-12-15 10:11
最后编辑:严锋 更新时间:2025-05-09 15:48
最后编辑:严锋 更新时间:2025-05-09 15:48