You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ssh_config for ami-4c6a0d5b has the following entries...
[chef@ip-172-31-23-73 workstation]$ cat /etc/ssh/ssh_config
# Created by Chef for ip-172-31-14-166.ec2.internal
Host *
MaxSessions 250
MaxStartups 250
MaxSessions and MaxStartups are actually /etc/ssh/sshd_config settings though and this causes kitchen login to fail on our training nodes...
[chef@ip-172-31-23-73 workstation]$ kitchen login
$$$$$$ Running legacy login for 'Docker' Driver
/etc/ssh/ssh_config: line 4: Bad configuration option: MaxSessions
/etc/ssh/ssh_config: line 5: Bad configuration option: MaxStartups
/etc/ssh/ssh_config: terminating, 2 bad configuration options
If you remove that setting kitchen login succeeds...
chef@ip-172-31-23-73 workstation]$ sudo vi /etc/ssh/sshd_config
[chef@ip-172-31-23-73 workstation]$ cat /etc/ssh/ssh_config
# Created by Chef for ip-172-31-14-166.ec2.internal
[chef@ip-172-31-23-73 workstation]$ kitchen login
$$$$$$ Running legacy login for 'Docker' Driver
kitchen@localhost's password:
The text was updated successfully, but these errors were encountered:
The ssh_config for ami-4c6a0d5b has the following entries...
MaxSessions
andMaxStartups
are actually/etc/ssh/sshd_config
settings though and this causeskitchen login
to fail on our training nodes...If you remove that setting kitchen login succeeds...
The text was updated successfully, but these errors were encountered: