SSH: Difference between revisions

Jump to navigation Jump to search
1 byte added ,  11 months ago
no edit summary
No edit summary
No edit summary
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
Secure Shell (SSH) is a widely used standard to connect to remote machines in a secure way.  The entire SSH connection is encrypted - especially the login credentials (username and password). SSH is the normal way for our users to connect in order to execute commands, submit jobs, follow the progress of these jobs and in some cases, transfer files.  
Secure Shell (SSH) is a widely used standard to connect to remote machines in a secure way.  The entire SSH connection is encrypted, especially the login credentials (username and password). SSH is the normal way for you to connect in order to execute commands, submit jobs, follow the progress of these jobs and in some cases, transfer files.  


<!--T:2-->
<!--T:2-->
Line 16: Line 16:


<!--T:6-->
<!--T:6-->
Your <code>username</code> is your '''default account''', typically something like <code>jsmith</code>, and the password is the same one you use to log in to the CCDB, [https://ccdb.computecanada.ca/ ccdb.computecanada.ca]. The <code>username</code> is '''not''' your CCI, like <code>abc-123</code>, nor a CCRI like <code>abc-123-01</code>, nor your email address.
Your <code>username</code> is your <b>default account</b>, typically something like <code>jsmith</code>, and the password is the same one you use to log in to the CCDB, [https://ccdb.computecanada.ca/ ccdb.computecanada.ca]. The <code>username</code> is <b>not</b> your CCI, like <code>abc-123</code>, nor a CCRI like <code>abc-123-01</code>, nor your email address.


<!--T:3-->
<!--T:3-->
Line 23: Line 23:


<!--T:15-->
<!--T:15-->
The first time that you connect to a remote machine you'll be asked to store a copy locally of its "host key," a unique identifier that allows the SSH client to verify, when connecting next time, that this is the same machine.  
The first time that you connect to a remote machine you'll be asked to store a copy locally of its <i>host key</i>, a unique identifier that allows the SSH client to verify, when connecting next time, that this is the same machine.  
    
    
The option <code>-Y</code> shown above forwards X11 traffic which allows you to use graphical applications on the remote machine such as certain text editors. Note that to use graphical applications you also need to have an X11 server installed on your workstation. Under Linux an X11 server will normally already be installed, but users of macOS will typically need to install an external package such as such [https://www.xquartz.org XQuartz]. Under windows, MobaXterm comes with an X11 server, while for PuTTY users, there is [https://sourceforge.net/projects/vcxsrv/ VcXsrv].  
The option <code>-Y</code> shown above forwards X11 traffic which allows you to use graphical applications on the remote machine such as certain text editors. Note that to use graphical applications you also need to have an X11 server installed on your workstation. Under Linux, an X11 server will normally already be installed, but users of macOS will typically need to install an external package such as such [https://www.xquartz.org XQuartz]. Under Windows, MobaXterm comes with an X11 server, while for PuTTY users, there is [https://sourceforge.net/projects/vcxsrv/ VcXsrv].  


<!--T:8-->
<!--T:8-->
rsnt_translations
53,464

edits

Navigation menu