SSH Keys and Configuration
Ensure a user ssh-agent is running
Generate a new ED25519 key and ssh-add
Note: Replace
usernamewith your PirateID.
Create SSH Client Configuration File: ~/.ssh/config
-p : If the specified parent directory DNE, mkdir -p will create
it along with any necessary intermediate directories.⤷
700 : Octal representation of permissions passed to chmod (command that changes file mode bits).
Enter or paste the following:
Host ecu
HostName csstu.intra.ecu.edu
User username # PirateID
Port 22
IdentityFile ~/.ssh/id_ed25519
StrictHostKeyChecking accept-new
UserKnownHostsFile ~/.ssh/known_hosts
Pre-add the server host key (optional):
Install your public key on the server: Expected output (example):/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/user/.ssh/id_ed25519.pub"
...
Number of key(s) added: 1
Now try logging in with: ssh -i /home/user/.ssh/id_ed25519 'ecu'
user would be your home user directory.