vito/resources/views/ssh/os/deploy-ssh-key.blade.php
2025-02-06 20:34:01 +01:00

4 lines
107 B
PHP

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