Subscribe to:
Post Comments (Atom)
#1 Generate local key | |
ssh-keygen -t rsa -N '' -f /export/home/geneva/.ssh/id_rsa | |
#2 Authorize it remotely: | |
cat /export/home/geneva/.ssh/id_rsa.pub | ssh $remoteHost 'cat >> .ssh/authorized_keys && echo "Key copied"' | |
#3 Go to the remote server to eliminate duplicates: | |
gawk '!x[$0]++' ~/.ssh/authorized_keys > ~/.ssh/authorized_keys2 | |
mv ~/.ssh/authorized_keys2 ~/.ssh/authorized_keys |
Nestor Urquiza is a hands-on technologist, security-first thinker and results-oriented business executive. An Electronics Engineer dealing with hardware, embedded/web software development, security, compliance and full business funnel process engineering. Keeping things simple and innovating top-down, from Marketing to Accounting.
No comments:
Post a Comment