SSH: Difference between revisions

Jump to navigation Jump to search
97 bytes added ,  6 years ago
no edit summary
No edit summary
No edit summary
Line 10: Line 10:
When using Linux or Apple, 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 Apple, 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 userid@machine_name}}
{{Command|ssh -Y userid@machine_name}}
The userid will be your Compute Canada username while the machine name will typically be something like <tt>cedar.computecanada.ca</tt> or <tt>niagara.computecanada.ca</tt>.   
The userid will be your Compute Canada username while the machine name will typically be something like <tt>cedar.computecanada.ca</tt> or <tt>niagara.computecanada.ca</tt> and the password that you will be asked to enter is your Compute Canada database (CCDB) password.   
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 should normally already be installed but users of OS X 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 Xming (download  [http://downloads.sourceforge.net/project/xming/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe installer] and [http://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.47/Xming-fonts-7-5-0-47-setup.exe/download extra fonts]). 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> 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 should normally already be installed but users of OS X 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 Xming (download  [http://downloads.sourceforge.net/project/xming/Xming/6.9.0.31/Xming-6-9-0-31-setup.exe installer] and [http://sourceforge.net/projects/xming/files/Xming-fonts/7.5.0.47/Xming-fonts-7-5-0-47-setup.exe/download extra fonts]). 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.  


Bureaucrats, cc_docs_admin, cc_staff
2,224

edits

Navigation menu