ssh命令是openssh套件中的客户端连接工具,可以给予ssh加密协议实现安全的远程登录服务器,实现对服务器的远程管理。
语法格式: ssh [参数] [远程主机]
常用参数:
参考实例
登录远程服务器:
[root@linuxcool ~]# ssh 202.102.240.88
用test用户连接远程服务器:
[root@linuxcool ~]# ssh -l test 202.102.220.88
查看分区列表:
[root@linuxcool ~]# ssh 202.102.220.88 /sbin/fdisk -l
强制使用ssh协议版本1:
[root@linuxcool ~]# ssh -1
开启认证代理连接转发功能:
[root@linuxcool ~]# ssh -A
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)