ssh-keygen -t rsa -b 4096 -C "ubelix"
and decide path and passphrase.- Add to
~/.ssh/config
:Host ubelix UseKeychain yes AddKeysToAgent yes IdentityFile ~/.ssh/id_rsa_ubelix Hostname submit03.unibe.ch User <YOUR_USER_HERE> ServerAliveInterval 60
ssh-copy-id -i ~/.ssh/id_rsa_ubelix.pub ubelix
.ssh-add --apple-use-keychain ~/.ssh/id_rsa_ubelix
for Monterey OS.ssh ubelix
. If you have issue with password prompting, verify home directory permissions (it might be useful to runssh
in verbose mode).
Created
September 21, 2022 14:09
-
-
Save scandav/95fe9dc63572ef51930f55f6ffa11bbf to your computer and use it in GitHub Desktop.
SSH Key for MAC M1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment