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

SSH connection not possible after initial launch #6

Open
pmaas opened this issue Sep 7, 2017 · 1 comment
Open

SSH connection not possible after initial launch #6

pmaas opened this issue Sep 7, 2017 · 1 comment

Comments

@pmaas
Copy link
Contributor

pmaas commented Sep 7, 2017

When I'm launching the docker container for the first time, I'm not able to connect via SSH:

# ssh www-data@localhost -i ~/.ssh/my_private_key
Permission denied (publickey).

After a restart of the container the same command works very well.

Maybe we have to restart the sshd service after modifing the /etc/ssh/sshd_config file. But I don't know how to do it. From # /etc/init.d/sshd restart I'm getting sh: /etc/init.d/sshd: not found although the file is there.

@dimaip
Copy link
Member

dimaip commented Jan 16, 2018

Sorry for the late response. Will try to verify it on the latest version of the image.

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

2 participants