Consentire l'XForwarding con una connessione ssh multihop: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
Created page with "* Se si vuole usare un'applicatico X, ad esempio xclip, non è supportato da una semplice connessione multihop tipo ssh -t host.esterno ssh host.interno * Una possibile solu..."
 
mNo edit summary
Line 5: Line 5:
  ssh -o proxycommand="ssh host.externo nc host.interno 22" host.interno
  ssh -o proxycommand="ssh host.externo nc host.interno 22" host.interno


{{TODO}}
{{Stub}}
Verificare con -W
*Verificare con -W


=Riferimenti=
=Riferimenti=
*[https://serverfault.com/questions/53080/how-to-enable-ssh-x11-forwarding-through-additional-server linux - How to enable SSH X11 forwarding through additional server? - Server Fault]
*[https://serverfault.com/questions/53080/how-to-enable-ssh-x11-forwarding-through-additional-server linux - How to enable SSH X11 forwarding through additional server? - Server Fault]
*[https://www.cyberciti.biz/faq/linux-unix-ssh-proxycommand-passing-through-one-host-gateway-server/ SSH ProxyCommand example: Going through one host to reach another server - nixCraft]
*[https://www.cyberciti.biz/faq/linux-unix-ssh-proxycommand-passing-through-one-host-gateway-server/ SSH ProxyCommand example: Going through one host to reach another server - nixCraft]

Revision as of 12:17, 29 January 2018

  • Se si vuole usare un'applicatico X, ad esempio xclip, non è supportato da una semplice connessione multihop tipo
ssh -t host.esterno ssh host.interno
  • Una possibile soluzione fa uso di netcat, che deve essere isntallato su host.esterno, usando l'opzione proxyxommand:
ssh -o proxycommand="ssh host.externo nc host.interno 22" host.interno
Attenzione questo articolo è ancora incompleto.
Sentiti libero di contribuire cliccando sul tasto edit.
  • Verificare con -W

Riferimenti