79deb35
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash echo $PUBLIC_KEY >> ~/.ssh/authorized_keys chmod 700 -R ~/.ssh # Start the SSH service in the background service ssh start # Execute the passed arguments (CMD) exec "$@"