ssh 命令 ssh 命令用于登录主机,用法如下: ssh root@192.168.0.50 -p 22 # -p 用于指定ssh端口 -i 指定秘钥进行远程登录 ssh -i /root/.ssh/id_rsa -p 22