ssh_exchange_identification: Connection closed by remote host 是因為/etc/hosts.allow中沒有加入: sshd : xxx.xxx.xxx.xxx : allow 加入這行就可以登入了,其他一律拒絕。