SSH Keys are an advanced feature that allow you to use a key to connect instead of using your password. This has the benefit of being both more secure, and more convenient to use. SSH keys are an optional way to access the SoCS servers from Off Campus. Regular password based login is still allowed from on campus, or from off campus while running the VPN. Please note that SSH may not be enabled on your Windows machine by default. Follow the topic in this article on how to install SSH before continuing with this guide.
To set up public key private key access to linux:
If you are working on campus, you can set can set up your keys using ssh.
If you are working off campus you should use NoMachine to upload your ssh key.
If you feel confident in your ability, below are the list of commands that you can execute to get your key onto the server while on campus. This guide is suited for students that can troubleshoot common Linux issues related to ssh and file movement. If you are not confident, follow Part A For all platforms above for a more in-depth guide.
Server-Side Setup
ssh central-ID@linux.socs.uoguelph.ca cd ~ mkdir .ssh cd .ssh ls touch authorized_keys (if the file already exists, skip this step)
Local Machine
ssh-keygen -t ed25519 -C central-ID@linux.socs.uoguelph.ca scp ~/.ssh/id_ed25519.pub central-ID@linux.socs.uoguelph.ca:~/.ssh/ed25519.pub
On linux.socs.uoguelph.ca
cd ~/.ssh cat ed25519.pub >> authorized_keys exit