Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Prossima revisione | Revisione precedente Ultima revisione Entrambe le parti successive la revisione | ||
vlsi:workbook:computing:remote [30/07/2013 21:23] pacher creata |
vlsi:workbook:computing:remote [11/12/2013 20:26] panati |
||
---|---|---|---|
Linea 1: | Linea 1: | ||
====== Accessing computing resources remotely ====== | ====== Accessing computing resources remotely ====== | ||
- | [ __[[vlsi:home|VLSI Home]]__ ] | + | [ __[[vlsi:home|Home]]__ ] |
- | [ __[[vlsi:workbook|VLSI Design WorkBook]]__ ] | + | [ __[[vlsi:workbook|Design WorkBook]]__ ] |
- | [ __[[vlsi:computing_main#contents|Back to index]]__ ] | + | [ __[[vlsi:workbook:computing:main#contents|Back to index]]__ ] |
== Contents == | == Contents == | ||
- | * [[vlsi:computing_remote#introduction|Introduction]] | + | * [[vlsi:workbook:computing:remote#introduction|Introduction]] |
- | * [[vlsi:computing_remote#connecting_to_a_vlsi_machine|Connecting to a VLSI machine]] | + | * [[vlsi:workbook:computing:remote#connecting_to_a_vlsi_machine|Connecting to a VLSI machine]] |
- | * [[vlsi:computing_remote#remote_connections_from_windows|Remote connections from Windows]] | + | * [[vlsi:workbook:computing:remote#remote_connections_from_windows|Remote connections from Windows]] |
- | * [[vlsi:computing_remote#remote_desktop_access_with_nx_client|Remote desktop access with NX Client]] | + | * [[vlsi:workbook:computing:remote#remote_desktop_access_with_nx_client|Remote desktop access with NX Client]] |
- | * [[vlsi:computing_remote#accessing_vlsi_machines_from_outside_the_infn_domain|Accessing VLSI machines from outside the INFN domain]] | + | * [[vlsi:workbook:computing:remote#accessing_vlsi_machines_from_outside_the_infn_domain|Accessing VLSI machines from outside the INFN domain]] |
- | * [[vlsi:computing_remote#remote_file_transfers|Remote file transfers]] | + | * [[vlsi:workbook:computing:remote#remote_file_transfers|Remote file transfers]] |
- | * [[vlsi:computing_remote#web_browsing_through_ssh|Web browsing through SSH]] | + | * [[vlsi:workbook:computing:remote#web_browsing_through_ssh|Web browsing through SSH]] |
- | * [[vlsi:computing_remote#tips_and_tricks|Tips and tricks]] | + | * [[vlsi:workbook:computing:remote#tips_and_tricks|Tips and tricks]] |
Linea 67: | Linea 67: | ||
compared to Linux. The ''-Y'' option enables a //trusted X forwarding// and will allow | compared to Linux. The ''-Y'' option enables a //trusted X forwarding// and will allow | ||
you to work without any problem. If you want to connect from a Windows computer indeed, | you to work without any problem. If you want to connect from a Windows computer indeed, | ||
- | please refer to | + | please refer to [[vlsi:workbook:computing:remote#remote_connections_from_windows|Remote connections from Windows]] |
- | [[vlsi:computing_remote#remote_connections_from_windows|Remote connections from Windows]] | + | |
istructions. | istructions. | ||
Linea 138: | Linea 137: | ||
reported below. They provide step-by-step instructions to setup and make a remote connection. | reported below. They provide step-by-step instructions to setup and make a remote connection. | ||
- | * [[computing_putty_config|Configuring PuTTY]] | + | * [[vlsi:workbook:computing:remote:xming|Starting the X server]] |
- | * [[computing_xming_config|Starting the X server]] | + | |
- | * [[computing_putty_connection|Connecting to a remote machine]] | + | * [[vlsi:workbook:computing:remote:putty|Configuring PuTTY and connecting]] |
\\ | \\ | ||
Linea 166: | Linea 166: | ||
NX Client dovrebbe essere.... piu' veloce! e quindi si dovrebbe riuscire | NX Client dovrebbe essere.... piu' veloce! e quindi si dovrebbe riuscire | ||
ad aprire cadence anche con meno banda! Esiste per Mac, Linux e Windows | ad aprire cadence anche con meno banda! Esiste per Mac, Linux e Windows | ||
- | tranquillamente | + | tranquillamente. Peccato che NX client funziona SOLO se sulla macchina |
+ | su cui voglio collegarmi eltxxx.to.infn e' installato e correttamente configurato | ||
+ | NX server !!!!!! | ||
As an alternative to a SSH connection, you can try a remote desktop access with the | As an alternative to a SSH connection, you can try a remote desktop access with the | ||
- | NX Client tool. Only a limited number of simultanous connections are allowed, thus | + | NX Client tool. |
- | there is no guarantee that you can access the server at any moment. | + | |
To set a remote desktop access, you must install the NX Client for Windows or NX Client | To set a remote desktop access, you must install the NX Client for Windows or NX Client | ||
for Linux in your computer. In the case of Windows, you must also install the "nxfonts-75dpi" | for Linux in your computer. In the case of Windows, you must also install the "nxfonts-75dpi" | ||
- | * [[computing_nxclient_linux|Linux instructions]] | + | * [[vlsi:workbook:computing:remote:nxclient:linux|Linux instructions]] |
- | * [[computing_nxclient_windows|Windows instructions]] | + | * [[vlsi:workbook:computing:remote:nxclient:windows|Windows instructions]] |
Linea 197: | Linea 198: | ||
through a simple ''ssh''. | through a simple ''ssh''. | ||
- | However, sometimes you might need to access your VLSI account at home or from another insitute. | + | However, sometimes you might need to access your VLSI account at home or from another institute. |
To do this, you must first connect through <nowiki>SSH</nowiki> to a machine of the INFN computing cluster. | To do this, you must first connect through <nowiki>SSH</nowiki> to a machine of the INFN computing cluster. | ||
If you don't have an INFN computing account read [[computing_accounts|here]] how to obtain it. | If you don't have an INFN computing account read [[computing_accounts|here]] how to obtain it. | ||
Linea 250: | Linea 251: | ||
[[http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol|SSH File Transfer Protocol (SFTP)]] | [[http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol|SSH File Transfer Protocol (SFTP)]] | ||
programs can be performed. | programs can be performed. | ||
+ | |||
+ | |||
+ | :!: //**Note**// \\ | ||
+ | It's possible to disable ''scp'' and ''sftp'' and have only SSH access, quindi | ||
+ | tutto il seguito ha senso solo se la remote machine e' configurata per permetter scp/sftp! | ||
+ | Il permesso viene definito nel file di configurazione di ssh ''/etc/ssh/sshd_config'' | ||
+ | |||
+ | <code> | ||
+ | # override default of no subsystems | ||
+ | Subsystem sftp /usr/libexec/openssh/sftp-server | ||
+ | </code> | ||
+ | |||
+ | Se questa linea e' commentata... allora niente scp/sfp sulla macchina! | ||
+ | |||
===== ===== | ===== ===== | ||
Linea 555: | Linea 570: | ||
The recommended browser for this purpose is **Firefox**. Step-by-step instructions | The recommended browser for this purpose is **Firefox**. Step-by-step instructions | ||
to setup Firefox and create an <nowiki>SSH</nowiki> tunnel on both UNIX/Linux and and Windows | to setup Firefox and create an <nowiki>SSH</nowiki> tunnel on both UNIX/Linux and and Windows | ||
- | operating systems can be found [[computing_firefox_tunnelling|here]]. | + | operating systems can be found |
+ | __[[vlsi:workbook:computing:remote:ssh_firefox|here]]__. | ||
===== Tips and tricks ===== | ===== Tips and tricks ===== | ||
Linea 596: | Linea 612: | ||
\\ | \\ | ||
**Performing <nowiki>SSH</nowiki> login and SCP without password** | **Performing <nowiki>SSH</nowiki> login and SCP without password** | ||
+ | |||
+ | :!: //**Note**// \\ | ||
+ | Tutto questo funziona SOLO se ''/etc/ssh/sshd_config'' sulla server machine e' stato configurato per | ||
+ | permettere il login con un certificato! | ||
+ | |||
+ | <code> | ||
+ | #PubkeyAuthentication yes | ||
+ | </code> | ||
+ | |||
+ | di default e' commentato! | ||
+ | |||
+ | |||
Enter your password every time you want to ssh into you machine is quite annoying! | Enter your password every time you want to ssh into you machine is quite annoying! | ||
Linea 661: | Linea 689: | ||
[[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/]] | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
====== ====== | ====== ====== |