Linux 使用 ssh 命令远程连接另一台 Linux

用 Linux 系统的 ssh 命令远程连接另一台 Linux 机器的命令

#ssh 用户名@主机名(IP地址)

例:

#ssh root@10.41.24.138                           

意为:Linux 系统下用命令连接另一台机器  是用 root 帐户连接 10.41.24.138 机器

再根据提示输入被连接主机的密码即可 

第一次连接会提示形如下信息:(输入yes即可 )

The authenticity of host 192.168.1.25(192.168.1.25)' can't be established.
RSA key fingerprint is 3e:65:83:1e:c6:f8:e6:3f:95:df:ad:ce:0b:b0:93:1d.
Are you sure you want to continue connecting (yes/no)?

退出:

exit

猜你喜欢

转载自www.cnblogs.com/linnuo/p/10688062.html
今日推荐