SSH: Difference between revisions

Jump to navigation Jump to search
18 bytes added ,  2 years ago
reduce server-vs-machine confusion
(replace "userid" with "username" consistent with CCDB)
(reduce server-vs-machine confusion)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
Secure Shell (SSH) is a widely-used standard to connect to remote servers in a secure way.  The entire SSH connection is encrypted - especially the login credentials (username and password). SSH is the normal way for Compute Canada 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 Compute Canada users 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 21: Line 21:
When using Linux or macOS, you will need to open a terminal, for example /Applications/Utilities/Terminal.app for Apple hardware, and then use the command shown below:
When using Linux or macOS, you will need to open a terminal, for example /Applications/Utilities/Terminal.app for Apple hardware, and then use the command shown below:
{{Command|ssh -Y username@machine_name}}
{{Command|ssh -Y username@machine_name}}
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 option <tt>-Y</tt> forwards X11 traffic which allows you to use graphical applications on the remote server 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 first time that you connect to a remote server 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 server.  
The option <tt>-Y</tt> 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-->
Bureaucrats, cc_docs_admin, cc_staff
2,773

edits

Navigation menu