SSH Keys and Remote File Transfer
Master SSH key authentication, key management, and secure remote file copying with SCP, SFTP, and rsync for efficient data transfer operations.
Articles in SSH Keys and Remote File Transfer
-
How to test known_hosts issues → ssh -o StrictHostKeyChecking=no ... (use carefully)
Learn how to safely test SSH known_hosts issues using StrictHostKeyChecking=no. Complete guide with examples, security risks, and best practices for troubleshooting.
-
How to open SFTP shell → sftp user@host
Learn how to open SFTP shell connections using sftp user@host command. Complete guide with authentication methods, troubleshooting, and best practices.
-
How to sync efficiently → rsync -avz --progress src/ user@host:/dst/
Master efficient file synchronization with rsync. Learn the -avz --progress command, advanced options, troubleshooting, and best practices for remote syncing.
-
How to copy files (SCP) → scp file user@host:/path/
Master SCP file transfer with this comprehensive guide. Learn syntax, authentication, troubleshooting, and best practices for secure remote file copying.
-
How to jump through bastion → ssh -J bastion user@host
Learn how to use SSH jump hosts with the -J flag to securely connect through bastion servers. Complete guide with examples, troubleshooting, and best practices.
-
How to use agent/add keys → eval "$(ssh-agent)"; ssh-add ~/.ssh/id_ed25519
Learn how to start SSH agent and add SSH keys using eval "$(ssh-agent)" and ssh-add commands. Complete guide with troubleshooting and best practices.
-
How to copy key to server → ssh-copy-id user@host
Learn how to securely copy SSH keys to remote servers using ssh-copy-id. Complete guide with examples, troubleshooting, and best practices for seamless authentication.
-
How to generate SSH keys → ssh-keygen -t ed25519
Learn how to generate secure SSH keys using ssh-keygen with Ed25519 encryption. Complete guide with step-by-step instructions, examples, and best practices.