- 安装:
- ubuntu:sudo apt-get install openssh-server(服务器端) openssh-client(客户端)
- cent-OS:sudo yum install openssh-server(服务器端) openssh-client(客户端)
- 配置:
在/etc/ssh目录中有两个配置文件,分别是sshd_config(服务器端)和ssh_config(客户端)
sshd_config配置详解http://blog.licess.org/sshd_config/
ssh_config详解http://firesk.blog.51cto.com/180373/51776