Open
Description
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:
Metadata
Metadata
Assignees
Labels
No labels