Connecting: Difference between revisions

From Research Computing Center Wiki
Jump to navigation Jump to search
No edit summary
 
(45 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:zcluster]]
[[Category:Sapelo2]][[Category:Teaching]]


==Connecting to Sapelo2==


===Connecting to zcluster===
Access to Sapelo2 requires an active MyID and password, and two-factor authentication with Archpass Duo. For more details of Archpass Duo, please refer to
[https://eits.uga.edu/access_and_security/infosec/tools/archpass_duo archpass_duo] .


Access to the Linux cluster (zcluster) is through secure shell (ssh) to zcluster.rcc.uga.edu (note that connection via telnet is not safe and it is therefore disabled). If you have a local system that runs an X Window client or server, you can run X applications remotely.
Access to the Sapelo2 is through secure shell (ssh) to the host sapelo2.gacrc.uga.edu . If you have a local system that runs an X Window client or server, you can run X applications remotely.


To connect via ssh, you must have an ssh software and a connection to the UGA campus network. An ssh software is included in recent releases of Unix based operating systems (including Linux and Mac OS X). An SSH Secure Shell Utility is available for Windows on the [https://eits.uga.edu/hardware_and_software/software UGA Sitesoft] page (you will need to enter your UGA myID and password to download the software).
To connect via ssh, you must have an ssh software and a connection to the UGA campus network. An ssh software is included in recent releases of Unix based operating systems (including Linux and Mac OS X).


Open a connection to host: zcluster.rcc.uga.edu
If you are using a Windows computer, please download and install PuTTY. You can find detailed instructions on how to download and install PuTTY on your Windows computer at
[https://wiki.gacrc.uga.edu/wiki/How_to_Install_and_Configure_PuTTY How to Install and Configure PuTTY].
 
You may also opt to use Cygwin, for which instructions can be found [https://wiki.gacrc.uga.edu/wiki/How_to_Install_and_Configure_Cygwin here.]
 
===Video Instructions===
 
* [https://kaltura.uga.edu/playlist/dedicated/176125031/1_a6e4voao/1_s50lszs5 Connecting to Sapelo2 from Windows]
* [https://kaltura.uga.edu/playlist/dedicated/176125031/1_a6e4voao/1_79mmimps Connecting to Sapelo2 from Mac]
* [https://kaltura.uga.edu/playlist/dedicated/176125031/1_a6e4voao/1_z8tftk87 Connecting to Sapelo2 from Linux]
 
===Open a connection to Sapelo2 on campus===


'''Examples of usage on Unix/Linux/MacOSX'''
'''Examples of usage on Unix/Linux/MacOSX'''


To open a connection to zcluster.rcc.uga.edu, first open a terminal and at the command prompt type
To open a connection to Sapelo2, first open a terminal and at the command prompt type


<pre class="gcommand">
<pre class="gcommand">
ssh username@zcluster.rcc.uga.edu
ssh UGAMyID@sapelo2.gacrc.uga.edu
 
Duo two-factor login for UGAMyID
 
Enter a passcode or select one of the following options:
 
1. Duo Push to XXX-XXX-4304
2. Phone call to XXX-XXX-4304
3. SMS passcodes to XXX-XXX-4304
 
Passcode or option (1-3):
 
</pre>
</pre>


Line 21: Line 45:


<pre class="gcommand">
<pre class="gcommand">
ssh -X username@zcluster.rcc.uga.edu
ssh -X UGAMyID@sapelo2.gacrc.uga.edu
</pre>
</pre>


where '''''username''''' is your username on zcluster. The -X option might be necessary to allow X windows applications running on zcluster to be forwarded to your local machine. If your username on your local system and on the zcluster are the same, you can simply type
where '''''UGAMyID''''' is your UGA MyID. The -X option might be necessary to allow X windows applications running on the new cluster to be forwarded to your local machine. If your username on your local system is the same as your UGA MyID, you can simply type


<pre class="gcommand">
<pre class="gcommand">
ssh zcluster.rcc.uga.edu
ssh sapelo2.gacrc.uga.edu
</pre>
</pre>


In order to enable X forwarding from zcluster to a local '''Mac OS X machine''', the ssh command given above (i.e. ssh -X username@zcluster.rcc.uga.edu) has to be issued from an '''X11 terminal''' (and not from a regular terminal).
'''Examples of usage on Windows'''
 
Please refer to [https://wiki.gacrc.uga.edu/wiki/How_to_Install_and_Configure_PuTTY How to Install and Configure PuTTY].
 
===Open a connection to Sapelo2 from off-campus===
 
VPN is needed to connect to Sapelo2 from off-campus (outside the UGA main campus).
 
For connecting from off-campus, please first connect to the UGA VPN and then connect to sapelo2.gacrc.uga.edu. Information on how to use the VPN is available at [https://eits.uga.edu/access_and_security/infosec/tools/vpn/ UGA_VPN].


===To run X Window applications remotely on your local machine===
===To run X Window applications remotely on your local machine===


If you have a local machine that runs an X Window client or server, you can forward X Window applications running on zcluster to your local machine. Recent releases of Unix based operating systems (including Linux and Mac OS X) come with an X windows client. For Windows OS, a free X windows server is Xming. More information on how to install Xming is available on the [[Frequently Asked Questions | GACRC FAQ]] page.
If you have a local machine that runs an X Window client or server, you can forward X Window applications running on the new cluster to your local machine. Recent releases of Unix based operating systems (including Linux) come with an X windows client. For Mac OS X, please install XQuartz. For Windows OS, a free X windows server is Xming. More information on how to install Xming is available on the [[Frequently Asked Questions | GACRC FAQ]] page.
 
Your ssh may be configured to allow you to run X Window application on your local machine automatically. If it does not, try including the -X flag when connecting to the new cluster (ssh -X UGAMyID@sapelo2.gacrc.uga.edu).
 
Now you can issue commands to start up X applications on sapelo2.gacrc.uga.edu, such as xterm.
 
If you plan to run resource consuming X Window applications, such as graphics programs, etc, please use the queueing system to get a command prompt on an interactive node. Information on how to run interactive jobs on the new cluster is at the [[Running Jobs on Sapelo2]] page.
 
===Logging out===
 
To leave the system, be sure that all your open files are closed and all stopped jobs have been terminated then enter:
 
<pre class="gcommand">
exit
</pre>
 
==Connecting to the teaching cluster==
 
Access to the teaching cluster requires an active MyID and password, and two-factor authentication with Archpass Duo. For more details of Archpass Duo, please refer to
[https://eits.uga.edu/access_and_security/infosec/tools/archpass_duo archpass_duo] .
 
Access to the teaching cluster is through secure shell (ssh) to the host teach.gacrc.uga.edu . If you have a local system that runs an X Window client or server, you can run X applications remotely.
 
To connect via ssh, you must have an ssh software and a connection to the UGA campus network. An ssh software is included in recent releases of Unix based operating systems (including Linux and Mac OS X).
 
If you are using a Windows computer, please download and install PuTTY. You can find detailed instructions on how to download and install PuTTY on your Windows computer at
[https://wiki.gacrc.uga.edu/wiki/How_to_Install_and_Configure_PuTTY How to Install and Configure PuTTY].
 
You may also opt to use Cygwin, for which instructions can be found [https://wiki.gacrc.uga.edu/wiki/How_to_Install_and_Configure_Cygwin here.]
 
===Open a connection to the teaching cluster on campus===
 
'''Examples of usage on Unix/Linux/MacOSX'''
 
To open a connection to the teaching cluster, first open a terminal and at the command prompt type
 
<pre class="gcommand">
ssh UGAMyID@teach.gacrc.uga.edu
 
Duo two-factor login for UGAMyID
 
Enter a passcode or select one of the following options:
 
1. Duo Push to XXX-XXX-4304
2. Phone call to XXX-XXX-4304
3. SMS passcodes to XXX-XXX-4304
 
Passcode or option (1-3):
 
</pre>
 
or


Your ssh may be configured to allow you to run X Window application on your local machine automatically. If it does not, try including the -X flag when connecting to the zcluster (ssh -X username@zcluster.rcc.uga.edu).
<pre class="gcommand">
ssh -X UGAMyID@teach.gacrc.uga.edu
</pre>


Now you can issue commands to start up X applications on zcluster.rcc.uga.edu, such as xterm.
where '''''UGAMyID''''' is your UGA MyID. The -X option might be necessary to allow X windows applications running on the new cluster to be forwarded to your local machine. If your username on your local system is the same as your UGA MyID, you can simply type


If you plan to run resource consuming X Window applications, such as Matlab, graphics programs, etc, please use the queueing system to get a command prompt on an interactive node. Information on how to run interactive jobs on zcluster is at the [[Running Jobs on zcluster]] page.
<pre class="gcommand">
ssh teach.gacrc.uga.edu
</pre>


===Logging in===
'''Examples of usage on Windows'''


When your ssh connection is established, you will be prompted for your password. The first time you login to zcluster, please change your initial password with the '''passwd''' command. This command can be used afterwards as well, to change your password.
Please refer to [https://wiki.gacrc.uga.edu/wiki/How_to_Install_and_Configure_PuTTY How to Install and Configure PuTTY], but in the hostname, please use teach.gacrc.uga.edu (instead of the sample hostname in the screenshots on that page).


===Logging Out===
You may also opt to use Cygwin, for which instructions can be found [https://wiki.gacrc.uga.edu/wiki/How_to_Install_and_Configure_Cygwin here.]
 
<!--
1.
 
If log in via "Quick Connect", please select the "Keyboard Interactive":
 
[[File:Teach login 4.png]]
 
If log in via "Profiles", please select the "Keyboard Interactive":
 
[[File:Teach login 5.png|600px]]
 
[[File:Teach login 6.png|600px]]
 
[[File:Teach login 0.png|600px]]
 
2. The next step is to fill your password of MyID:
 
[[File:Teach login 1.png|400px]]
 
3. fill push in the field to push an Duo Pass request
 
[[File:Teach login 2.png]]
 
4. Approve the Authentication request via your device, e.x. mobile phone
 
5. Finalize the log in by clicking "OK"
 
[[File:Teach login 3.png]]
 
-->
===Open a connection to the teaching cluster from off-campus===
 
VPN is needed to connect to the teaching cluster from off-campus (outside the UGA main campus).
 
For connecting from off-campus, please first connect to the UGA VPN and then connect to teach.gacrc.uga.edu. Information on how to use the VPN is available at [https://eits.uga.edu/access_and_security/infosec/tools/vpn/ UGA_VPN]
 
===To run X Window applications remotely on your local machine===
 
If you have a local machine that runs an X Window client or server, you can forward X Window applications running on the new cluster to your local machine. Recent releases of Unix based operating systems (including Linux) come with an X windows client. For Mac OS X, please install XQuartz. For Windows OS, a free X windows server is Xming. More information on how to install Xming is available on the [[Frequently Asked Questions | GACRC FAQ]] page.
 
Your ssh may be configured to allow you to run X Window application on your local machine automatically. If it does not, try including the -X flag when connecting to the new cluster (ssh -X UGAMyID@teach.gacrc.uga.edu).
 
Now you can issue commands to start up X applications on teach.gacrc.uga.edu, such as xterm.
 
If you plan to run resource consuming X Window applications, such as graphics programs, etc, please use the queueing system to get a command prompt on an interactive node. Information on how to run interactive jobs on the new cluster is at the [[Running Jobs on the teaching cluster]] page.
 
===Logging out===


To leave the system, be sure that all your open files are closed and all stopped jobs have been terminated then enter:
To leave the system, be sure that all your open files are closed and all stopped jobs have been terminated then enter:


<pre class="gcommand">
exit
exit
 
</pre>
===Connecting to the New Cluster===

Latest revision as of 08:53, 29 June 2021


Connecting to Sapelo2

Access to Sapelo2 requires an active MyID and password, and two-factor authentication with Archpass Duo. For more details of Archpass Duo, please refer to archpass_duo .

Access to the Sapelo2 is through secure shell (ssh) to the host sapelo2.gacrc.uga.edu . If you have a local system that runs an X Window client or server, you can run X applications remotely.

To connect via ssh, you must have an ssh software and a connection to the UGA campus network. An ssh software is included in recent releases of Unix based operating systems (including Linux and Mac OS X).

If you are using a Windows computer, please download and install PuTTY. You can find detailed instructions on how to download and install PuTTY on your Windows computer at How to Install and Configure PuTTY.

You may also opt to use Cygwin, for which instructions can be found here.

Video Instructions

Open a connection to Sapelo2 on campus

Examples of usage on Unix/Linux/MacOSX

To open a connection to Sapelo2, first open a terminal and at the command prompt type

ssh UGAMyID@sapelo2.gacrc.uga.edu

Duo two-factor login for UGAMyID

Enter a passcode or select one of the following options:

 1. Duo Push to XXX-XXX-4304
 2. Phone call to XXX-XXX-4304
 3. SMS passcodes to XXX-XXX-4304

Passcode or option (1-3): 

or

ssh -X UGAMyID@sapelo2.gacrc.uga.edu

where UGAMyID is your UGA MyID. The -X option might be necessary to allow X windows applications running on the new cluster to be forwarded to your local machine. If your username on your local system is the same as your UGA MyID, you can simply type

ssh sapelo2.gacrc.uga.edu

Examples of usage on Windows

Please refer to How to Install and Configure PuTTY.

Open a connection to Sapelo2 from off-campus

VPN is needed to connect to Sapelo2 from off-campus (outside the UGA main campus).

For connecting from off-campus, please first connect to the UGA VPN and then connect to sapelo2.gacrc.uga.edu. Information on how to use the VPN is available at UGA_VPN.

To run X Window applications remotely on your local machine

If you have a local machine that runs an X Window client or server, you can forward X Window applications running on the new cluster to your local machine. Recent releases of Unix based operating systems (including Linux) come with an X windows client. For Mac OS X, please install XQuartz. For Windows OS, a free X windows server is Xming. More information on how to install Xming is available on the GACRC FAQ page.

Your ssh may be configured to allow you to run X Window application on your local machine automatically. If it does not, try including the -X flag when connecting to the new cluster (ssh -X UGAMyID@sapelo2.gacrc.uga.edu).

Now you can issue commands to start up X applications on sapelo2.gacrc.uga.edu, such as xterm.

If you plan to run resource consuming X Window applications, such as graphics programs, etc, please use the queueing system to get a command prompt on an interactive node. Information on how to run interactive jobs on the new cluster is at the Running Jobs on Sapelo2 page.

Logging out

To leave the system, be sure that all your open files are closed and all stopped jobs have been terminated then enter:

exit

Connecting to the teaching cluster

Access to the teaching cluster requires an active MyID and password, and two-factor authentication with Archpass Duo. For more details of Archpass Duo, please refer to archpass_duo .

Access to the teaching cluster is through secure shell (ssh) to the host teach.gacrc.uga.edu . If you have a local system that runs an X Window client or server, you can run X applications remotely.

To connect via ssh, you must have an ssh software and a connection to the UGA campus network. An ssh software is included in recent releases of Unix based operating systems (including Linux and Mac OS X).

If you are using a Windows computer, please download and install PuTTY. You can find detailed instructions on how to download and install PuTTY on your Windows computer at How to Install and Configure PuTTY.

You may also opt to use Cygwin, for which instructions can be found here.

Open a connection to the teaching cluster on campus

Examples of usage on Unix/Linux/MacOSX

To open a connection to the teaching cluster, first open a terminal and at the command prompt type

ssh UGAMyID@teach.gacrc.uga.edu

Duo two-factor login for UGAMyID

Enter a passcode or select one of the following options:

 1. Duo Push to XXX-XXX-4304
 2. Phone call to XXX-XXX-4304
 3. SMS passcodes to XXX-XXX-4304

Passcode or option (1-3): 

or

ssh -X UGAMyID@teach.gacrc.uga.edu

where UGAMyID is your UGA MyID. The -X option might be necessary to allow X windows applications running on the new cluster to be forwarded to your local machine. If your username on your local system is the same as your UGA MyID, you can simply type

ssh teach.gacrc.uga.edu

Examples of usage on Windows

Please refer to How to Install and Configure PuTTY, but in the hostname, please use teach.gacrc.uga.edu (instead of the sample hostname in the screenshots on that page).

You may also opt to use Cygwin, for which instructions can be found here.

Open a connection to the teaching cluster from off-campus

VPN is needed to connect to the teaching cluster from off-campus (outside the UGA main campus).

For connecting from off-campus, please first connect to the UGA VPN and then connect to teach.gacrc.uga.edu. Information on how to use the VPN is available at UGA_VPN

To run X Window applications remotely on your local machine

If you have a local machine that runs an X Window client or server, you can forward X Window applications running on the new cluster to your local machine. Recent releases of Unix based operating systems (including Linux) come with an X windows client. For Mac OS X, please install XQuartz. For Windows OS, a free X windows server is Xming. More information on how to install Xming is available on the GACRC FAQ page.

Your ssh may be configured to allow you to run X Window application on your local machine automatically. If it does not, try including the -X flag when connecting to the new cluster (ssh -X UGAMyID@teach.gacrc.uga.edu).

Now you can issue commands to start up X applications on teach.gacrc.uga.edu, such as xterm.

If you plan to run resource consuming X Window applications, such as graphics programs, etc, please use the queueing system to get a command prompt on an interactive node. Information on how to run interactive jobs on the new cluster is at the Running Jobs on the teaching cluster page.

Logging out

To leave the system, be sure that all your open files are closed and all stopped jobs have been terminated then enter:

exit