配置ssh服务

★ 安装
在centos7下:
yum install openssh*
在ubuntu 16.04下:
apt-get install -y openssh-server

★ 配置

★ 常见问题
问题:ssh登录linux速度特别慢(以centos7为例)
解决:修改sshd_config
查找GSSAPIAuthentication 赋值为 no
查找UseDNS,赋值为 no

Leave a comment

Your email address will not be published. Required fields are marked *