Commit 138ab643 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rooter/get_ssh_pubkey.sh: fix get key order

parent a0653764
......@@ -23,8 +23,8 @@ else
fi
USERKEY=$HOMEDIR/.ssh/id_ed25519.pub
[ -r "$USERKEY" ] || USERKEY=$HOMEDIR/.ssh/id_dsa.pub
[ -r "$USERKEY" ] || USERKEY=$HOMEDIR/.ssh/id_rsa.pub
[ -r "$USERKEY" ] || USERKEY=$HOMEDIR/.ssh/id_dsa.pub
#[ -r "$USERKEY" ] || fatal "Can't read ssh key $USERKEY"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment