I am trying to follow this answer to login to my server via ssh without typing my extremely long password each time: https://serverfault.com/a/241593/295203
Right now I have 6 keys in my authorized_keys:
(base) -bash-4.1$ wc -l ~/.ssh/authorized_keys
6 /home/[myusername]/.ssh/authorized_keys
First instinct was to delete all of the keys in there and then do the ssh-copy-id id@server
step of the above link out. However, I'm afraid of getting locked out completely if I do that.
My end goal:
- From my work computer where I ran
ssh-keygen -t rsa -b 2048
, to be able to login in to the remote server without using a password. - From any other computer, require a password.