Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (95.36 KB, 2 trang )
CẤU HÌNH SSH HOST-BASED AUTHENTICATION TRÊN CENTOS 7
Link hướng dẫn:
/>
SSH Server details:
OS : CentOS 7 64-bit
IP address : 192.168.28.149/24
SSH client details:
OS : Ubuntu 16.04 LTS 64-bit
IP address : 192.168.28.139/24
SSH client configuration
nano /etc/ssh/ssh_config
sửa dòng:
HostbasedAuthenication yes
thêm dòng:
EnableSSHKeysign yes
SSH daemon configuration
Tại máy server:
vi /etc/ssh/sshd_config
HostbasedAuthentication yes
IgnoreRhosts no
vi /etc/hosts.equiv
192.168.28.139
chmod 600 /etc/hosts.equiv