####openssh-server####
#让远程主机可以通过网络访问sshd服务,开始一个安全shell
####客户端连接方式####
#ssh 远程主机用户@远程主机ip
[root@desktop0 ~]# ssh root@xxx.xxx.xxx.xxx
The authenticity of host '172.25.0.11 (172.25.0.11)' can't be established.
ECDSA key fingerprint is eb:24:0e:07:96:26:b1:04:c2:37:0c:78:2d:bc:b0:08.
Are you sure you want to continue connecting (yes/no)? yes 连接陌生主机时需要建立认证关系
Warning: Permanently added '172.25.0.11' (ECDSA) to the list of known hosts.
root@172.25.0.11's password: 远程用户密码
Last login: Mon Oct 3 03:13:47 2016
[root@server0 ~]# 登陆成功
ssh 远程主机用户@远程主机ip -X 调用远程主机图形工具
ssh 远程主机用户@远程主机ip command ##直接在远程主机运行某条命令