Can't ssh to container on fresh install

Just set up Discourse (stable) on Debian 8.1 (2 gigs DO droplet) following this guide https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md

After bootstraping and starting app I can’t ssh into container because of incorrect root password. I also tried fresh install with this settings in app.yml:

  • exec: /usr/sbin/usermod -p “$(mkpasswd -m sha-256 ‘SuperPassword’)” root. Same result.

So what is the correct way to configure ssh access? Thanks.

P.S. Installation was made by root if it does matter.

Do you actually need to SSH into the container? A simple ./launcher enter app should always work to get a shell inside the container. I’ve never really needed SSH :slight_smile:

3 Likes

Yes, I really need this for remote access.

You could always SSH into the host, and then enter the container :wink:

But of course, SSH into the container should also be working. Unluckily, I have no idea why it isn’t working for you.

1 Like

I removed most of the ssh hacks a while ago, they were getting a bit unwieldy, you could still mixin the ssh template and figure out how to wire it all up but it’s tricky

2 Likes

Thanks for info @sam!