Reaching Others University at Buffalo - The State University of New York
Skip to Content
UBIT SECURITY ALERT, 11/27/14: UB Login Phish targets UB accounts >

Connecting to UBUnix

Find out how to connect to UBUnix with your computer.

Establishing a Command-Line Connection

A command-line interface logs you into UBUnix and provides a prompt at which you can enter text-based commands. There are no graphics or windows.

You must first establish a connection to the Internet.

From Windows

Use a program like PuTTY to establish a command-line connection to UBUnix.

From Macintosh

Using SSH

  1. Double-click on your Macintosh HD, double-click Applications > Utilities > Terminal.
  2. In the Terminal window, enter ssh yourUBITName@ubunix.buffalo.edu where yourUBITName is your UBITName, then press Return.
  3. Enter your password and press Return.

From Linux

You must be using a secure connection. Use SSHFS to connect.

Installing Needed Modules

Your distribution may have different commands or different names. This command should work on a typical Ubuntu-based distribution.

sudo apt-get install sshfs

Creating a Mount Point

Create a folder, such as ubfs, into which to mount your UBfs files with the correct permissions:

sudo mkdir /ubfs

sudo chmod a+rwx /ubfs

Mounting Your UBfs Space

To access files in your UBfs space, mount UBfs to your folder /ubfs:

sshfs ubitname@ubunix.buffalo.edu:/ubfs/myfiles/1st_UBIT_letter/2nd_UBIT_letter/UBITname/  /ubfs/      

where ubitname is your UBITName and 1st_UBIT_letter and 2nd_UBIT_letter are the first and second letters of your UBITName.

Connecting to UBUnix Using Remote Windowing Software

You must first establish a connection to the Internet.

Remote windowing software allows you to issue commands from an xterm window command prompt; the software launches in a graphical mode in a separate window. Connect with any of the following:

  • XWin32 (Windows)
  • X11 (Macintosh)
    • To connect to UBUnix with your Macintosh using X11:
    1. Check your Utilities folder inside the Applications folder to see if X11 is already installed. If not, you must first install it from the Mac OS X install discs that came with your computer.
    2. Once installed, double-click on your Macintosh HD, select Applications, then Utilities, and select x11.
    3. In the xterm window, enter ssh yourUBITName@ubunix.buffalo.edu -X where yourUBITName is your UBITName, then press Return.
    4. Enter your password and press Return.

Uploading and Downloading Files

You must first establish a connection to the Internet.

From Windows

Use file transfer software like FileZilla, to download and upload files.

From Macintosh

Securely upload or download files with sftp.

  1. Double-click on your Macintosh HD and then double-click Applications.
  2. Double-click on Terminal.
  3. Enter sftp followed by the full name of the computer you want to connect to, such as ubunix.buffalo.edu, then press Return.
  4. Enter the password for the account you are connecting to when prompted then press Return.       

You can also upload and download files with Cyberduck or Fetch.

Did This Page Answer Your Question?

(Required)
 
Email, UBITName or phone number
(Required)
Enter the letters or numbers you see below in the space provided. Click "Get a new challenge" if they are not readable.