This was one of those problems that irritated me considerably, since the solution was the last thing that I tried. The issue was that, I noticed, my private key for one of my users on one of my boxes was no longer being accepted. It was still prompting for the password. I tried regenerating the [...]
Categories: GNU/Linux,Tips
Tagged: bash, GNU/Linux, SSH
- Published:
- November 2, 2010 – 5:57 pm
- Author:
- By Mike Gerwitz
For security purposes, I don’t run sshd on the default port (22). This gave me some problems when attempting to use the command ssh-copy-id. Ideally, you’d expect the following to work: 1 ssh-copy-id -p XXXX -i ‘~/.ssh/id_rsa.pub’ username@host However, that didn’t do anything but output an error: Bad port ‘umask 077; test -d .ssh || [...]
Categories: Uncategorized
Tagged: bash, SSH
- Published:
- October 7, 2009 – 3:21 am
- Author:
- By Mike Gerwitz