User Tools

Site Tools


biac:cluster:access

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
biac:cluster:access [2012/10/23 19:00]
favorini
biac:cluster:access [2020/01/08 22:37]
favorini Changed note about firewall security alert
Line 1: Line 1:
 ====== Accessing the cluster ====== ====== Accessing the cluster ======
  
-=== Setting up Xwin32 === +The cluster is only available from Duke networks.  For remote accessVPN is required [[biac:accounts|Account Requests]]  
-To setup the terminal in Xwin32, follow these steps: +
-  * Window's Start -> X-Win32 2010 -> X-Config +
-  * Under the "Connections" tabselect //"Wizard"// +
-  * **Name:** hugin or anything that you want ), **Type:** select //"ssh"// +
-  * **host:** hugin.biac.duke.edu +
-  * **Login:** your username, **Password:** ( if you leave this black, you will be prompted later ) +
-  * **Command:** click //"Linux"// +
-  * click //"Finish"//+
  
-If your new connection doesn'show up, Click "OK", then re-open X-Config. +==== Setting up X-Win32 ==== 
-  * Click your saved configurationthen //"Launch"// +To set up the terminal in X-Win32, follow these steps: 
-  * A terminal window should appear and you may be prompted to enter your password if you didn't originally save it+  * Windows Start -> **X-Win32 2019** 
-  * Alsoif its your first connection, you'll be prompted to allow connections from hugin.+  * If the **X-Win32 Configuration** window doesn't open, click **Open X-Config** 
 +  * On the //Connections// tab, click **Wizard...** 
 +  * On the first pageenter: 
 +    * //Name:// **cluster** ( or anything that you want ) 
 +    * //Type:// select **ssh** 
 +    * Click **Next** 
 +  * On the host page, enter
 +    * //host:// **cluster.biac.duke.edu** 
 +    * Click **Next** 
 +  * On the credentials pageenter: 
 +    * //Login:// your NetID 
 +    * //Password:// (you can leave this blank, to be prompted later) 
 +    * Click **Next** 
 +  * On the command page, enter: 
 +    * //Command:// select **Linux XTERM** 
 +  * Click **Finish**
  
-Once the terminal is usableall graphical forwarding should work.  Type"nedit" on the command line to test.+To start your newly created connection: 
 +  * Select **cluster** under //My Connections// 
 +  * Click **Launch** 
 +  * If you didn't save your password in your connectionyou will be prompted for it nowClick **Continue**. 
 +  * If you get a Security Alert from Windows Defender Firewalljust click **Cancel**. No rules need to change. 
 +  * If this is your first connection to cluster.biac.duke.edu, you'll be prompted to allow connections. 
 +  * An XTERM terminal window should appear (it may not be the foremost window)
  
-The next time you want to connectyou can open X-Config and simply "Launchyour saved connection.  If you drag the connection to the "Autostart" folder, it will open automatically when you open Xwin32.+Once the terminal is usable, all graphical forwarding should work.  Type, "nediton the command line to test.
  
-=== Access from Mac or Linux === +The next time you want to connect, you can open X-Win32 and simply "Launch" your saved connection.  If you drag the connection to the "Autostartfolderit will open automatically when you open X-Win32.
-To access the cluster from a Mac or Linux machine open your terminal window ( for Mac usually the program "terminal", Centos is konsole or xterm ) +
-   ssh -username@hugin.biac.duke.edu -X enable the forwarding of graphics )+
  
 +==== Access from Mac or Linux ====
 +To access the cluster from a Mac or Linux machine, open your terminal window (for Mac usually the program "terminal", Centos is konsole or xterm) and run the following command
 +   ssh -Y username@cluster.biac.duke.edu
 +The -X parameter enables the forwarding of graphics.
 +  * after major OSX updates sometimes it is required to re-install XQuartz and reboot
 +  * if you're experiencing x-forwarding timeout failures its usually because SSH on OSX only forwards graphics for 10 minutes by default. You can change this behavior by setting a timeout in your local ssh config file ( ie: ~/.ssh/config ) 
 +<code>
 +Host *
 +    ForwardX11 yes
 +    ForwardX11Timeout 596h
 +</code> 
biac/cluster/access.txt · Last modified: 2023/02/23 18:43 (external edit)