You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 33
Next »
Action
This guide details how to connect to batch via SSH from a windows or mac machine. batch is only accessible from within the University at Albany network. To connect from an external network, you must use the VPN. Please read more at the Remote Access page.
To spawn a terminal session, you can use PuTTY and VcXsrv on Windows. On mac, you can use your terminal with XQuartz for X11 Forwarding and a terminal session. More details below.
Instructions
Windows
Several options are available for connecting to research systems from a windows computer. This documentation will focus on PuTTY and VcXsrv for X11 forwarding.
VcXsrv
PuTTY
PuTTY instructions
PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open source software that is available with source code and is developed and supported by a group of volunteers. It can be downloaded here and is commonly used alongside VcXsrv for X11 Forwarding.
- Download and install PuTTY (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)
- Make sure you have XLaunch running (see above)
- Find PuTTY in the start menu, and start the application
- For host name, you make connect to a number of resources (e.g., head.its.albany, headnode7.arcc.albany.edu, lmm.its.albany.edu), here we will connect to the headnode head.its.albany.edu
- Enter head.its.albany.edu and port 22 as shown below
- Next click on Connection -> Data and enter your netid in the "Auto-login username" field
- Next click on Connection -> SSH -> X11 on the left side, and check "Enable X11 forwarding", this will allow graphics to forward to your screen
- Finally, go back to "Session" and enter a session name and hit "Save". This will store these properties so that you can use them again by selecting the session and clicking "Load".
- Finally, click open on the bottom right and click Yes when prompted by the PuTTY Security Alert
- Enter your password when prompted. You will not see your password appear on the screen, but it is being typed!
- When successfully connected, you will see a terminal display something that looks similar to
- Now you are all set! To test if X Forwarding is working correctly,enter in the command line: xeyes and you should see the following window pop up
- If you are having trouble, please contact askIT@albany.edu
Windows Subsystem for Linux
macOS
XQuartz
XQuartz instructions
X11 is a communication protocol for "forwarding" graphics from one machine to another. In order to display graphics or run programs interactively with the Terminal, XQuartz must be installed. To download and install XQuartz, please click here
Terminal
Terminal instructions
To SSH to any of our resources (e.g., head.its.albany, headnode7.arcc.albany.edu, lmm.rit.albany.edu), you can use the terminal in Mac. Here, we will connect to head.its.albany.edu.
- Install XQuartz if you have not yet done so.
- Right click on XQuartz in the toolbar. Select Applications → Terminal
- Enter into the terminal: ssh -Y [netid]@head.its.albany.edu
- NOTE: the -Y option is required in order for your X11 applications to work
- Enter your password when prompted. You will not see your password appear on the screen, but it is being typed!
- Type y when prompted by the security alert (you may not see this alert)
- After you are successfully logged into the ssh session, you will need to enter the following command: touch .Xauthority
- NOTES:
- you only need to do this if the file does not already exist.
- there is a "." at the beginning of the filename ".Xauthority"
- Now you are all set! To test if X Forwarding is working correctly, enter in the command line: xeyes
- you should see a window with eyes pop up
- If you are having trouble, please contact askIT@albany.edu