[Bug]: Cannot log into run container when ~/.ssh
is located on a volume
#2257
Labels
bug
Something isn't working
~/.ssh
is located on a volume
#2257
Steps to reproduce
env
property on in a image itself) and/home/username
located on a reusable volumessh username@runname
Actual behaviour
Cannot log in: MOTD is displayed, but the session is terminated immediately
Expected behaviour
No response
dstack version
0.18.39
Server logs
Additional information
There is a hardcoded upper limit in OpenSSH on the number of lines in
~/.ssh/environment
, anddstack-runner
appends new lines on each run.https://github.com/openssh/openssh-portable/blob/53a80baaebda180f46e6e8571f3ff800e1f5c496/session.c#L846-L847
The text was updated successfully, but these errors were encountered: