How to get access to the deployed machine as specified by the dockerfile?

Hi… The ones from the Dockerfile actually were set, it’s just that PATH got overwritten—by the normal SSH login sequence.

Try the following instead:

$ fly ssh console --pty -C bash

The different behavior that you’re expecting to be the default was requested immediately after fly ssh was released, as part of the very first reply to the announcement post:

A workaround that gives you that final item with less typing might be to try modifying root’s ~/.profile.


Personally, the existing behavior is closer to what I expect from something named ssh, but I appreciate a lot of the logic in what the two of you are saying. Maybe there could be a separate “resume within Dockerfile” kind of operation, eventually.

1 Like