Skip to content
Snippets Groups Projects
Commit 2afb8953 authored by Alan Nelson's avatar Alan Nelson
Browse files

Fix typo in generate_svc_account_key.sh

parent c694c004
No related branches found
No related tags found
No related merge requests found
......@@ -7,4 +7,4 @@
#
read -p 'Service Account: ' account
sudo -u "$account" -H -- bash -c "cd ~; mkfifo key key.pub && cat key && cat key.pub >> /etc/ssh/authorized_keys/$account & echo \"y\" | ssh-keygen -oq -t ed25519 -N \"\" -f key &>/dev/null; rm key key.pub"
\ No newline at end of file
sudo -u "$account" -H -- bash -c "cd ~; mkfifo key key.pub && cat key && cat key.pub >> /etc/ssh/authorized_keys/$account & echo \"y\" | ssh-keygen -q -t ed25519 -N \"\" -f key &>/dev/null; rm key key.pub"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment