Skip to main content

ssh

SSH Server

  • OpenSSH

SSH Clients

ssh config (client side)

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

ssh-keygen -R 192.168.3.10

SSH Port forwarding

ssh -N -L <local-port>:<remote-host>:<remote-port> <user>@<remote-host>
  • -N restrics establishing a login shell to remote
  • -f shell runs in the background.

Ref: https://builtin.com/software-engineering-perspectives/ssh-port-forwarding

ssh agent forwarding configuration in config file

ForwardAgent

Ref: https://www.ssh.com/academy/ssh/config

Config file Reference

ssh Man

ssh proxy and jump host