CS:Remote Login

From Wiki

Jump to: navigation, search

It's common to want to access your files and folders when you are not physically present at the University. Most Computer Science Resources, including progeny and skynet, are accessable remotely via ssh, meaning that you can access them from home or wherever you are not physically present and have Internet access.


Login From your Home Linux/Unix Machine

Most Unixes have an ssh client built in.

Remote Terminal

The easiest usage would be to use the ssh command from a terminal. For example, to login to progeny you could use the following:

ssh username@progeny.isu.edu

This will give you a command prompt on progeny, allowing you to do/edit things from there.

Some text editors that are available include nano, vim, and emacs.

File Transfer

For security reasons, ftp is not enabled. However, you can easily transfer files using a gui program such as gftp or from the command line using something like sftp.


GUI Programs

Perhaps the easiest way to get programs such as openoffice running on your home computer is to enable X forwarding over ssh.

You can also enable X forwarding like

ssh -X username@progeny.isu.edu

then you can start openoffice by typing

ooffice

To enable compression, you can pass the -C option, which may or may not speed things up (if you are on a fast network it will slow them down).

You can also run applications like vnc over ssh, if you want the whole desktop effect. Add more content about that here if you have done it.

The best way to get a gui is probably NX. See the GUI section below.

Login From your Home Windows Machine

Remote Terminal

Windows does not have an ssh client built in. However, you can download a program like putty to have a terminal from your Windows box.

To login to progeny, for example, the hostname would be 'progeny.isu.edu', the port number would be 22 (which is the standard ssh port), the protocol would be ssh, and the rest should be fairly self explanitory.

File Transfer

Third party applications such as winscp are available so that you can easily transfer files to and from the CS machines over ssh.

GUI

Getting GUI applications to run from Unix machines to Windows machines can be difficult, since Windows machines do not run X.

It is possible to use an application like vnc over ssh using tightvnc and putty. See here for more details.

GUI

The best way to login remotely if you want a gui is probably to use NX. Download the client at nomachine http://www.nomachine.com/. An NX server is running on progeny, and should be pretty snappy, as far as remote desktops go. The client should be free. Links to clients for the most recent major OS versions are listed below.

When you first run the NX client, the Connection Wizard will start to help you set up your connection. You may name the connection anything you want in the Session box, but for the Host you will want to make sure you specify progeny.isu.edu. The Port may be left at the default setting. Finally, you will want to tell the NX Client what your connection speed is using the provided slider. Selecting a setting that matches your connection speed the closest will ensure best performance from the remote connection.

To avoid potential lost data, at this time when you are done using the NX session, make sure to close it by hitting the Close button instead of the Log Out button in the session itself (the Close button in Windows and most Linux GUIs is denoted by an X and is usually located in the upper-right corner of the window.)

Personal tools