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 [22/06/2013 18:42] pacher |
vlsi:computing_remote [30/07/2013 21:23] pacher cancellata |
||
---|---|---|---|
Linea 563: | Linea 563: | ||
**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': | Un modo ad esempio e': | ||
+ | |||
Linea 642: | 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 655: | 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/]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||