ssh

Command line

Jump box

ssh -o "StrictHostKeyChecking no" -J [email protected] [email protected]

ssh config

Dynamic host

host *-kube-node-??
  HostName %h.mydomain.com
  StrictHostKeyChecking no
  LogLevel quiet
  User root
  IdentityFile myKey.pem
  TCPKeepAlive yes
  ServerAliveInterval 20

Usage

ssh my-area-kube-node-00

jump box

Static jumphost list means, that you know the jumphost or jumphosts you need, to reach a host. Therefore you can create a static jumphost 'routing' in ~/.ssh/config file. The advantage in comparison to the dynamic jumphost option is, that you don't have to provide the .ssh config on jumphosts between your machine and all the other jumphosts between you and the final host you want to jump to.1

Usage

Port forwarding

Local forwarding

Last updated