Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad ssh_config ami-4c6a0d5b #21

Open
smford22 opened this issue Jan 21, 2017 · 0 comments
Open

Bad ssh_config ami-4c6a0d5b #21

smford22 opened this issue Jan 21, 2017 · 0 comments

Comments

@smford22
Copy link

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant