You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-14 23:55:02 +02:00
13 lines
130 B
Bash
13 lines
130 B
Bash
![]() |
#!/bin/sh
|
||
|
|
||
|
cd /root/.ssh
|
||
|
|
||
|
if [ -d keys ]
|
||
|
then
|
||
|
cat keys/*.pub > authorized_keys
|
||
|
fi
|
||
|
|
||
|
ssh-keygen -A
|
||
|
|
||
|
exec /usr/sbin/sshd -D "$@"
|