How-to: Connect via SSH (PuTTY, macOS terminal)
NOTE: If you are off campus you need to connect to the VPN prior to starting the process below. Each time you ssh in, you will need to be on the VPN first.
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
Windows Subsystem for Linux
macOS
XQuartz
Terminal
SSH Config
Alternatively, the ssh config file can be updated with the set of statements below on Windows or Mac. This will allow you to use a shorter ssh command at the terminal as ssh netID@hostname
On Windows and Mac workstations, the ssh config file can be optionally updated with:
Host servername1 servername2...
Port 22
On Windows, the ssh config file is located at C:\Users\<netID>\.ssh
On a Mac, the ssh config file is at ~/.ssh