Photo of Aaron West

aaron west

technology | programming | life

Aaron West

1-Minute Read

Generating an SSH key without a password. For example, for passphraseless old school Hadoop clusters. This is generally done from within a users home directory such as /Users/username on Mac.

ssh-keygen -t rsa -P ""

Generating an SSH key with a password. This is generally done from within a users home directory such as /User/username on Mac.

ssh-keygen -t rsa

How to copy a generated SSH key to the Mac clipboard. This is arguably better than manually copying and pasting.

cat ~/.ssh/id_rsa.pub | pbcopy
comments powered by Disqus

Recent Posts

About

Aaron West's technology blog