SSH: Difference between revisions

Jump to navigation Jump to search
221 bytes added ,  6 years ago
advise against trying CCI or CCRI as login name
No edit summary
(advise against trying CCI or CCRI as login name)
Line 6: Line 6:
<!--T:2-->
<!--T:2-->
Various software implementations of the SSH standard exist for most major operating systems. On OS X (Apple) and Linux the most widely used client is OpenSSH, a command line application which normally comes installed by default on these platforms. For Windows, individuals have to install an SSH client on their own: the two most common options are [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] and [http://mobaxterm.mobatek.net/download-home-edition.html MobaXTerm]. To use any of these implementations of SSH successfully, you need to know (1) the name of the machine to which you want to connect, (2) your userid and (3) your password.  
Various software implementations of the SSH standard exist for most major operating systems. On OS X (Apple) and Linux the most widely used client is OpenSSH, a command line application which normally comes installed by default on these platforms. For Windows, individuals have to install an SSH client on their own: the two most common options are [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] and [http://mobaxterm.mobatek.net/download-home-edition.html MobaXTerm]. To use any of these implementations of SSH successfully, you need to know (1) the name of the machine to which you want to connect, (2) your userid and (3) your password.  
The machine name will be something like <code>cedar.computecanada.ca</code> or <code>niagara.computecanada.ca</code>.
Your <code>userid</code> is your Compute Canada '''default account''', typically something like <code>jsmith</code>, and the password is the same one you use to log in to the Compute Canada database, [https://ccdb.computecanada.ca/ ccdb.computecanada.ca]. The <code>userid</code> is '''not''' your CCI, like <code>abc-123</code>, nor a CCRI like <code>abc-123-01</code>.


<!--T:3-->
<!--T:3-->
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> 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,773

edits

Navigation menu