mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
13 lines
130 B
Bash
Executable File
13 lines
130 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd /root/.ssh
|
|
|
|
if [ -d keys ]
|
|
then
|
|
cat keys/*.pub > authorized_keys
|
|
fi
|
|
|
|
ssh-keygen -A
|
|
|
|
exec /usr/sbin/sshd -D "$@"
|