# Set up SSH keys How to setup access to Linux systems using SSH keys. ## ___________________ Linux server: ``` cd ~/.ssh $ ssh-keygen -t ed25519 ``` Put id_ed25519.pub key content -> ~/.ssh/authorized_keys ``` $ chmod 700 ~/.ssh $ chmod 600 ~/.ssh/authorized_keys $ chown $USER:$USER ~/.ssh -R ``` Windows client: ``` copy Linux server: id_ed25519 -> Windows: C:\users\\.ssh\id_ed25519__ In Solar-putty: Left-top menu-dots: Generate certificates In Putty keygen: Conversions/import key: C:\users\\.ssh\id_ed25519__ Save private key: id_ed25519__.ppk Solar-putty: Settings/Credentials/Private key: id_ed25519__.ppk ``` Back to frontpage