Compare commits

...

2 commits
v6 ... main

Author SHA1 Message Date
93a1cc2e36
Update SSH service to change directory to /srv/stack before executing shell
All checks were successful
Build a dev image / build (push) Successful in 13s
Build a dev image / build (release) Successful in 15s
2026-01-19 14:21:35 +01:00
0e7f2b0d33
Change working directory to /srv/stack after starting services
All checks were successful
Build a dev image / build (push) Successful in 23s
2026-01-19 14:12:05 +01:00

View file

@ -29,4 +29,6 @@ chsh -s $SET_SHELL
# Cloud image generates this file which prevents sshd from accepting passwords # Cloud image generates this file which prevents sshd from accepting passwords
rm -f /etc/ssh/sshd_config.d/50-cloud-init.conf rm -f /etc/ssh/sshd_config.d/50-cloud-init.conf
echo "ForceCommand cd /srv/stack; exec $SET_SHELL -l" > /etc/ssh/sshd_config.d/99-custom.conf
exec /usr/sbin/sshd -E /var/log/sshd.log -D exec /usr/sbin/sshd -E /var/log/sshd.log -D