'ssh'에 해당되는 글 1건

  1. 2014.06.02 Knife bootstrap failed only with "Connection closed by remote host"
2014. 6. 2. 06:56

Knife bootstrap failed only with "Connection closed by remote host"

Knife bootstrap beyond a jump host failed just showing following log:



 DEBUG: Adding xx.xx.xxx.xxx

DEBUG: establishing connection to 127.0.0.1:xxxxxx

DEBUG: connection established

INFO: negotiation protocol version

ERROR: Net::SSH:Disconnect: connection closed by remote host


To resolve this, change ssh config as below on the jump host:


sudo vi /etc/ssh/sshd_config


 AllowTcpForwading yes


And restart ssh service.