Uploading to CUNIX (psst, it’s super easy)
If you want to use CUNIX to store files or webpages, you could use command-line utilities like PUTTY or the Linux SSH utility, but it is more convenient to use graphical utilities that allow you to drag and drop files onto CUNIX as if it was a location on your own computer. CUNIX allows you to do this through a protocol called SFTP, which is based on SSH and FTP.
Windows
To SFTP on Windows, the easiest way is to use WinSCP, which you can download from winscp.net. Run the installation program. Choose custom upgrade. When it asks you to select the components you want to install, do not select any of the language extensions (unless you want any of them). When it asks if you want to install a plugin for Firefox, say no. When it asks you what type of interface you want, choose the “Explorer-like interface” option. This one is a bit easier to use.
Once the installation is finished, open up the program (there should be a shortcut on your desktop). In the sidebar on the right, click the button labeled “New”.
In the field labeled “Host name”, type cunix.columbia.edu. In the field labeled “User name,” type your UNI. DO NOT fill in your password in the field labeled “Password.” Click the button labeled “Save” and press “OK” in the opened dialog. Finally, press “Login”.
You will be asked to verify the CUNIX server’s SSH certificate and then for your password. Once you’ve done this, you should be able to see your home directory on CUNIX.
You can add files by dragging and dropping, and you can open files just by double-clicking. Since you’ve saved your session, you can log on again just by double-clicking the link in your “stored sessions” box.
Linux
If you’re running a Linux distribution with GNOME as your Desktop Environment, you can sftp onto a server simply by using the Nautilus file manager. To do this, click on the Places menu in the GNOME panel and select “Connect to Server”. This will open up a dialog. From the drop-down menu labeled “Service type,” select SSH. Then, in the field labeled “Server” type cunix.columbia.edu. In the field labeled “User Name,” type in your UNI. For the field labeled “Folder,” you should enter the name of your home directory on the CUNIX server. To find this out, open up the terminal, SSH onto the CUNIX server, and type the command “pwd.”
This will print out your current directory, which is the home directory.
Copy and paste this directory into the “Folder” field. Finally, check the checkbox labeled “Add Bookmark” and type in the name you want to give this connection. “CUNIX” would probably be the best choice. Hit OK.
Your computer will ask you to verify the CUNIX server’s SSH certificate. Press OK. It will then prompt you to enter your password. Type in your password and press “Connect.” You should now see a Nautilus window displaying your home directory on CUNIX. Congratulations, you did it. You can now drag and drop files from your computer onto the CUNIX server. You can also edit files using your own graphical text editor instead of the command-line Emacs editor on CUNIX.
A shortcut should also appear on your desktop saying “sftp for <your UNI> on cunix.columbia.edu.” When you want to disconnect, close the Nautilus window, right-click on the shortcut on your desktop, and select “Unmount.” In the future, you can connect by clicking the bookmark in your “Places” menu.























