Erik Fredericks, frederer@gvsu.edu Fall 2025
Based on material provided by Erin Carrier, Austin Ferguson, and Katherine Bowers
eos##.cis.gvsu.edu
hunter2
*******
In your ~/.ssh/ directory:
~/.ssh/
config
In that file, add:
Host eos01 Hostname eos01.cis.gvsu.edu User yourusername
And then: ssh eos01
ssh eos01
We can skip the whole password thing and use encrypted keys!
Default locations (on the machine you're ssh'ing from)
~/.ssh/id_rsa
~/.ssh/id_rsa.pub
ls -la ~./ssh
ssh-keygen
~/.ssh/authorized_keys
ssh-copy-id -i path_to_key username@server
Errors with authorized_keys file
authorized_keys
touch ~/.ssh/authorized_keys
Wrong permissions
chmod 600 ~/.ssh/authorized_keys
chmod 700 ~/.ssh
If you have ssh and ssh-keygen but not ssh-copy-id
ssh
ssh-copy-id
scp ~/.ssh/id_rsa.pub username@hostname:~
cat id_rsa.pub >> ~/.ssh/authorized_keys
may need to chmod 600 on the file