Directions from Bruce. (BDUFFY 2021-02-17. )Thanks Bruce! Slightly updated by Joel. These were specifically for setting up to ssh to new mirzam, but are relevant for any new host.
Remove old mirzam entries from your ~/.ssh/known_hosts file (It looks like very long lines of gibberish. A hostname or its internet number [ie 137.22.301.5] starts each line.)
The next time you ssh into to an astronet machine, ssh will ask you
(base) bduffy66924:~ bduffy$ ssh bduffy@mirzam.physics.carleton.edu
The authenticity of host ‘mirzam.physics.carleton.edu (137.22.6.129)’ can’t be established.
ECDSA key fingerprint is SHA256:nersU93cf8F5ucysog/Rn2OIbSabknw10hpw5uXFs3o.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘mirzam.physics.carleton.edu’ (ECDSA) to the list of known hosts.
bduffy@mirzam.physics.carleton.edu: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
(base) bduffy66924:~ bduffy$
See ./astronet-server-ssh-public-keys.txt
2021 05 17: JMW does not know what directory ^ this is in.
Also, I had to add the authorized_keys file to one of my home macs’ .ssh directory in order to get all the way in to canopus. See email from Bruce on 2021 05 17 for more details.
Be First to Comment