Files
axolotl/scripts/runpod-entrypoint.sh
Wing Lian 79deb35c68 setup runpod images
use github.ref_name
2023-05-08 10:48:32 -04:00

11 lines
185 B
Bash

#!/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 "$@"