Connecting to a BARC VM with Cygwin
Why Cygwin?
There are many ways to connect a Windows workstation or laptop to a BARC Virtual Machine (VM). For users who prefer command line through Secure Shell (SSH), Windows Subsystems for Linux (Bash for Windows) is an option that is easy to install and use. See the Bash for Windows document for details. SSH from Bash for Windows lacks a supported Graphical User Interface (GUI). Remote Desktop from Windows to xRDP is also an option, see the Connecting to BARC Linux VM with RDP and SSH document. This option provides a GUI and access to a Command Line Interface (CLI). For users who prefer a more authentic experience Cygwin allows SSH and X. This document explains how to download and install Cygwin.
Download and install
- Open your web browser and go to https://www.cygwin.com/setup-x86_64.exe .
- Download setup-x86_64.exe.
- Go to your Downloads folder and double click on the Cygwin installer, setup-x86_64.exe.
- Click “Yes” to acknowledge the User Access Control message and allow the installer to run.
- Click Next >.
- Select the option to Install from Internet.
- Click Next >.
- Keep the default Root Directory.
- Select Install for “All users (RECOMMENDED).
- Click Next >.
- Keep the default Local Package Directory path.
- Click Next >.
- Keep the default Internet connection option.
- Click Next >.
- Select a download site.
- Click Next >.
- In the View drop-down box select “Category”.
- Click the + icon next to “All” to view all available packages.
- To install GNOME Environment and other options follow these instructions BEFORE clicking Next >.
- In the “Package” column click the + symbol next to “GNOME”
- In the “New” column click on the drop-down box and select Install.
- Scroll down to the “Net” Package
- In the “Package” column click the + symbol next to “Net”.
- Scroll down to the “openssh” package. In the “New” column click on the drop-down box for “openssh” and choose the highest revision level listed.
- Scroll down to X11.
- In the “Package” column click the + symbol next to X11.
- In the “New” column click on the drop-down box and select “Install”.
- Click Next >.
- Review the packages listed using the scroll bar. If you forgot a package or do not see it listed, click the “< Back” button to add it.
- Click Next >.
- Allow all packages to download.
- Click Finish.
For more help, please contact our helpdesk at busn.help@uconn.edu