Shell and SSH Access

Shell and SSH Access2019-06-04T13:01:54+00:00

Shell Access to MCECS Linux Systems

Users with MCECS Linux accounts may remotely access the general access Linux systems in the MCECS computer labs much like they would while on-campus, by using SSH. SSH clients are available for all major operating systems, including Windows, Mac OS X and, naturally, any *nix distribution.

If you know the hostname of a particular computer you that wish to connect to, you may use that. Alternatively, you may connect to one of the following generic hosts.

Major Linux
General MCECS linux.cecs.pdx.edu
CS Only linux.cs.pdx.edu
ECE Only redhat.ece.pdx.edu

How to Connect

Once you know the hostname of the machine you want to connect to, follow the instructions below that correspond to the operating system that you are trying to connect from.

From Windows

Note:

Step 1 – Run MobaXterm on your machine.

Step 2 – Once MobaXterm is loaded, select the start local terminal button as shown highlighted in blue in the image below.

Step 3 – This will bring a terminal window as shown in the image below. From the terminal, you can connect to any remote ssh server using the ssh (Secure Shell) command.

Step 4 – To login to a remote ssh host, use your MCECS username and the host name with the ssh command like so:

                ssh username@hostname

Step 5 – Hit enter to connect to that host server in which you will be prompted for your MCECS password.

 


From Linux

  1. From any *nix machine, bring up a terminal and use the ssh (Secure Shell) command:           ssh hostname

    If you need to login as a different user, specify your user name before the hostname like so:       ssh username@hostname                                                                                                                                                                                                                                                                                          
  2. If this is the first time you have attempted to connect to this host, ssh will warn you that it cannot guarantee that the computer you’re connecting to is who it says it is. Enter ‘yes’ to save the key in ssh’s cache.
  3. Enter your password when prompted.

From Mac OSX

  1. Click on the Spotlight icon (the magnifying glass in the top-right corner of your screen) and enter “Terminal”.
  2. Click on the Terminal utility when it appears in the drop-down list.
  3. In the Terminal window, enter:ssh username@hostname
  4. If this is the first time you have attempted to connect to this host, ssh will warn you that it cannot guarantee that the computer you’re connecting to is who it says it is. Enter ‘yes’ to save the key in ssh’s cache.
  5. Enter your password when prompted.

All MCECS *nix hosts require SSH protocol version 2.0. Our SSH servers also support RSA public/private key authentication . For more assistance connecting via SSH, email support@cat.pdx.edu.