Linux/SSH

From Wiki
< Linux
Revision as of 17:47, 1 September 2024 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • SSH port forwarding
$ ssh user@work.example.org -L 10000:172.16.10.10:22


  • SSH Key Login

on controlling client:

ssh-keygen
ssh-copy-id -i ~/.ssh/id_rsa user@server      # Ubuntu up to 22.04
ssh-copy-id user@server                       # Ubuntu from 24.04