当前位置:   article > 正文

ssh服务配置

[root@localhost rpm]# ssh 192.168.100.194 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

ssh
检查是否安装
[root@localhost Server]# rpm -qa | grep ssh
openssh-4.3p2-41.el5
openssh-server-4.3p2-41.el5
openssh-clients-4.3p2-41.el5
openssh-askpass-4.3p2-41.el5


/*修改配置文件*/
rpm -ql openssh-server




sshd_config 服务器端


ssh_config 客户端


客户端
[root@localhost /]# ssh root@192.168.1.26
The authenticity of host '192.168.1.26 (192.168.1.26)' can't be established.
RSA key fingerprint is 8f:a2:29:b9:a4:70:5c:6c:1e:6b:05:67:8e:b6:1a:f9.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added '192.168.1.26' (RSA) to the list of known hosts.
root@192.168.1.26's password:
[root@localhost ~]#






/*下载文件*/
scp root@192.168.1.100:/目录名 本地目录
/*上传*/
scp 本

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/551199
推荐阅读
相关标签
  

闽ICP备14008679号