Connecting: Difference between revisions

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


==Connecting to Sapelo2==
==Connecting to Sapelo2==
Line 8: Line 8:
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.
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).
 
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===
===Open a connection to Sapelo2 on campus===
Line 42: Line 53:
ssh sapelo2.gacrc.uga.edu
ssh sapelo2.gacrc.uga.edu
</pre>
</pre>
'''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===
===Open a connection to Sapelo2 from off-campus===
Line 47: Line 62:
VPN is needed to connect to Sapelo2 from off-campus (outside the UGA main 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]
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 the new cluster 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).  
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).  
Line 58: Line 73:


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.
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 Sapelo==
Access to the Sapelo is through secure shell (ssh) to the host IP address 128.192.75.104 (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.
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).
===Open a connection to host IP address: 128.192.75.104===
'''Examples of usage on Unix/Linux/MacOSX'''
To open a connection to 128.192.75.104, first open a terminal and at the command prompt type
<pre class="gcommand">
ssh UGAMyID@128.192.75.104
</pre>
or
<pre class="gcommand">
ssh -X UGAMyID@128.192.75.104
</pre>
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">
ssh 128.192.75.104
</pre>
In order to enable X forwarding from the new cluster to a local '''Mac OS X machine''', the ssh command given above (i.e. ssh -X UGAMyID@128.192.75.104) has to be issued from an '''X11 terminal''' (and not from a regular terminal).
===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 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.
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@128.192.75.104).
Now you can issue commands to start up X applications on 128.192.75.104, 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 Sapelo]] page.
===Logging in===
When your ssh connection is established, you will be prompted for your UGA MyID password.


===Logging out===
===Logging out===
Line 126: Line 89:
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.
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). 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).
 
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===
===Open a connection to the teaching cluster on campus===
Line 162: Line 130:


'''Examples of usage on Windows'''
'''Examples of usage on Windows'''
Here are steps for log in to teach via SSH Secure Shell.


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).
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.  
1.  


Line 172: Line 144:
If log in via "Profiles", please select the "Keyboard Interactive":
If log in via "Profiles", please select the "Keyboard Interactive":


[[File:Teach login 0.png]]
[[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:
2. The next step is to fill your password of MyID:


 
[[File:Teach login 1.png|400px]]
[[File:Teach login 1.png]]


3. fill push in the field to push an Duo Pass request
3. fill push in the field to push an Duo Pass request
Line 189: Line 164:
[[File:Teach login 3.png]]
[[File:Teach login 3.png]]


 
-->
===Open a connection to the teaching cluster from off-campus===
===Open a connection to the teaching cluster from off-campus===


Line 198: Line 173:
===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 the new cluster 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@teach.gacrc.uga.edu).  
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).  

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