← Back to main aurora access tutorial
Instead of typing your password each time you connect to the server, you can use an SSH key. Itβs more secure and much more convenient.
ssh-keygen
Press Enter to accept the default location.
ssh-copy-id yourusername@aurora.fi.muni.cz
If this doesn't work, use:
type $env:USERPROFILE\.ssh\id_*.pub | ssh yourusername@aurora.fi.muni.cz "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
ssh yourusername@aurora.fi.muni.cz
mykey.ppk
).nano ~/.ssh/authorized_keys
Paste the key and save with Ctrl+X
, Y
(as
Yes) and Enter
.
.ppk
file.
ssh-keygen
Press Enter to accept the default path.
ssh-copy-id yourusername@aurora.fi.muni.cz
Or manually:
cat ~/.ssh/id_*.pub | ssh yourusername@aurora.fi.muni.cz "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
ssh yourusername@aurora.fi.muni.cz
ssh-keygen
Press Enter to accept the default location.
ssh-copy-id yourusername@aurora.fi.muni.cz
Or:
cat ~/.ssh/id_*.pub | ssh yourusername@aurora.fi.muni.cz "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
ssh yourusername@aurora.fi.muni.cz
id_...
file without the
.pub
extension). If someone gets access to it, they can log into the server as you.