ssh服务配置

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 本

posted @ 2012-12-31 13:07  retacn_yue  阅读(153)  评论(0编辑  收藏  举报