Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
vlsi:computing_remote [10/06/2013 01:29] pacher |
vlsi:computing_remote [30/07/2013 21:23] pacher cancellata |
||
---|---|---|---|
Linea 562: | Linea 562: | ||
**Tunnelling** | **Tunnelling** | ||
+ | |||
+ | Double-hop ssh tunnel (ssh on one machine, then on another) | ||
+ | |||
+ | Situation: A and B are remote hosts. Local machine can SSH into A, but not B. B ONLY accepts SSH connections from A. | ||
+ | |||
+ | one SSH from local to A that tunnels from a secondary local port (like 2121) to port 21 on B, and then you can SSH to localhost:2121 and login on B | ||
+ | |||
+ | Un modo ad esempio e': | ||
+ | |||
+ | |||
<code> | <code> | ||
- | ssh | + | ssh -l username -L 7777:eltXXX.to.infn.it:22 zoroastro.to.infn.it cat - |
</code> | </code> | ||
+ | |||
+ | poi la shell rest ain hang, si apre un altro terminale e si mette | ||
+ | |||
+ | <code> | ||
+ | ssh -p 7777 username@localhost | ||
+ | </code> | ||
+ | |||
+ | e funziona! | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | See also //[[http://picobit.wordpress.com/2009/04/26/linux-ssh-forwarding-tunneling-duble-ssh-using-the-console/]]// | ||
+ | |||
Linea 623: | Linea 648: | ||
</code> | </code> | ||
- | move the ''id.rsa.pub'' as ''~/.ssh/authorized_keys | + | move the ''id.rsa.pub'' as ''~/.ssh/authorized_keys'' |
<code> | <code> | ||
Linea 636: | Linea 661: | ||
[[http://www.thegeekstuff.com/2008/06/perform-ssh-and-scp-without-entering-password-on-openssh/]] | [[http://www.thegeekstuff.com/2008/06/perform-ssh-and-scp-without-entering-password-on-openssh/]] | ||
+ | |||
+ | |||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | **Viewing images from the command line** | ||
+ | |||
+ | If you need to view any image but you can only use the terminal, | ||
+ | use the //Eye of GNOME// image viewer, which is the official image viewer | ||
+ | for the GNOME Desktop environment and available on all Scientific Linux dictributions. | ||
+ | |||
+ | Use the ''eog'' command, | ||
+ | |||
+ | <code> | ||
+ | which eog | ||
+ | /usr/bin/eog | ||
+ | </code> | ||
+ | |||
+ | |||
+ | To open an image, | ||
+ | |||
+ | <code> | ||
+ | cd /path/to/image | ||
+ | eog fileName.png | ||
+ | </code> | ||
+ | |||
+ | |||
+ | See also \\ | ||
+ | [[http://projects.gnome.org/eog/]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||