hmm... shoudl also probably check that pubkey starts with 'ssh-' before
adding it, to avoid some "file not found" HTML getting written to
.ssh/authorized_keys.

   if url_encode "$i" && cururl=$(printf "$url" "${_RET}") &&
           pubkey=$(wget --quiet -O- "$cururl") && [ -n "${pubkey}" ] &&
           [ "${pubkey#ssh-}" != "${pubkey}" ]; then

-- 
ssh-import-id - retrieve a key from a public keyserver and add to the 
authorized_keys file
https://bugs.launchpad.net/bugs/524226
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to