How to SSH keys and ProxyJump entries

SSH key pairs

Each SSH key pair includes two keys

$ ssh-keygen
$ ssh-copy-id user@host
$ ssh -J user@proxy_server user@ssh_server
/etc/ssh/ssh_config
# Host: ssh_server. Jump to via: ssh_proxy_server
Host ssh_server
HostName ssh_server
ProxyJump ssh_proxy_server
$ ssh user@ssh_server

Written by

DevOps engineer, loves Linux, Python, cats and Amiga computers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store