Changes between Version 15 and Version 16 of SSHKEYGEN
- Timestamp:
- 05/26/21 03:00:50 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SSHKEYGEN
v15 v16 39 39 40 40 Ref [https://linuxize.com/post/how-to-setup-passwordless-ssh-login ref] [[br]] 41 41 42 Remote to local [[br]] 42 At localhost user create tunnel to remote host with following43 At localhost user create tunnel to remote host with following 43 44 {{{ 44 45 ssh -R 8022:localhost:22 remoteUser@remotehost.com 45 46 }}} 46 Then, at remote host, user can '''ssh -p 8022 localUser@127.0.0.1''' to localhost47 Then, at remote host, user can '''ssh -p 8022 localUser@127.0.0.1''' to localhost 47 48 48 49 49 50 Local to Remote 50 At localhost user create tunnel to remote host with following51 At localhost user create tunnel to remote host with following 51 52 {{{ 53 [krit@mini ~]$ ssh -L 2000:localhost:22 remoteUser@remotehost.com 54 }}} 55 Then, at localhost, user can ''' ssh -p 2000 krit@127.0.0.1''' at localhost it will tunnel to remote host [[br]] 52 56 53 }}}