vito/resources/commands/system/deploy-ssh-key.sh
2023-08-04 18:28:04 +02:00

4 lines
102 B
Bash

if ! echo '__key__' | sudo tee -a ~/.ssh/authorized_keys; then
echo 'VITO_SSH_ERROR' && exit 1
fi