CMPSC 311, Instructions, Remote Login CMPSC 311, General Instructions Logging In - Remotely, to 218 IST or to the CSE Dept. Shared servers You should have previously logged in locally to one of the systems in 218 IST (Linux lab) or 220 IST (Windows lab), so that your password is set properly. We'll use the same convention for user name and workstation or server name as in the local login instructions for. In particular, labsystem is just a placeholder for an actual workstation or server name, and username is just a placeholder for an actual user name. Two servers are available for remote access, in addition to the workstations in 218 IST:. eru is a Sun E450 (SunFire 880) server running Solaris 10.
It has 8 UltraSPARC-III+ processors and 24 GB of memory. This should be your last choice for remote access; it is an old system that has become unreliable in recent months. ladon is a Dell R815 server running Linux kernel 2.6. It has 4 12-core AMD Opteron 6174 processors and 64 GB of memory. This should be your first choice for remote access, but it may become overcrowded. See also, the (login required) for info on various topics.
Wireless access from within the IST building is implemented by the university's. For instructions on access to the PSU Linux cluster, click. A walkthrough is (and recommended, no matter which system you will connect to). Cisco VPN Client If you are at a PSU computer, or your own system on the PSU network, and planning to use SSH, then you can skip this step. You need to establish a connection to the CSE systems via Cisco's Virtual Private Network software.
This is the same VPN software that Penn State uses, but you need one extra piece of configuration data. Here is the CSE department's policy statement, effective May 2008. All methods of remote access must be used through the Computer Science and Engineering VPN Service. One exception to the policy is with the SSH protocol.
SSH will be permitted from any Penn State University network connection, including PSU wireless. However, inbound SSH connections originating from outside of PSU's network will need to be used through the CSE VPN service. We realize there may be situations where SSH access cannot be accommodated with the VPN Service. Exceptions will be considered on a case-by-case basis and will require Department Head approval.
For more information, including VPN Client downloads, documentation, and howto guides, go to. Your CSE userid and password are required for downloads. Select the installation instructions and installer appropriate for your system (Windows, Linux, or Mac OS X). After installation and VPN connection, you can access your CSE files and directories on Windows or Mac OS X via a mapped network drive. Don't forget that editing a file that is located on a different computer is fundamentally a slower operation than editing a file that is located on your local computer. It may be faster to copy the file with SSH, edit locally, and copy back with SSH (with a new name, reflecting the new version). Depending on what you are doing, it may be faster still to login remotely, edit the file on the remote system, and not copy the file at all.
If you establish a connection on your laptop, and then the laptop goes into sleep mode, the VPN connection will probably be lost. However, your SSH session will probably not be lost, and you will still be logged in. Reestablish your VPN connection, and then.
Command-line access via SSH, from Solaris, Linux or Mac OS X The Solaris version of SSH comes from, and the Linux and Mac versions of SSH come from, where you can find much more information. Open a terminal window in the usual way. Run the command.
Ssh -l username labsystem.cse.psu.edu where the user name is for labsystem.cse.psu.edu, not for your current system. If you need a port number, it would be 22, but generally the defaults are OK. You will be asked for your password, and then your command shell starts.
When you are finished, type the command logout and close the terminal window. OK, you're all reasonable and intelligent people, but every semester, someone asks for help because his attempt to log into labsystem.cse.psu.edu didn't work. Go back to the top of the page and read the instructions more carefully this time. To copy a file xyz from your current system to your cmpsc311/abc directory on the CSE systems, run the command. Scp -r pqr username@ labsystem.cse.psu.edu:cmpsc311/abc You will be prompted for a password, as before. To copy in the other direction (remote to local), just name the remote file first and the local file second. Command-line access via SSH, from Windows If this is your own Windows system, you need to pick up the SSH Secure Shell Client.
Open a Web browser and go to PSU Software Sources at. Click on downloads.its.psu.edu (PSU Access Account needed). or, go directly to.
Click on File Transfer, then SSH Secure Shell / Windows. Click on Version: 3.2.9 (this is the current PSU distribution as of Jan. 2013). This will start the download process.
Even if you already have SSH, checking for a new release is a good idea, although there hasn't been for a while this is the free version. If you need a port number, it would be 22, but generally the defaults are OK. from SSH Communications Security Corp., worth your attention. It would probably also be a good idea to pick up one of the non-MS web browsers, such as Firefox, if these are not already on your system. If you are using a PSU ITS lab system, the SSH Client should already be installed. If there is no Desktop shortcut to the SSH Client, you can make one by going to the executable file, which is usually. C: Program Files SSH Communications Security SSH Secure Shell SshClient.exe When you start the SSH Client, enter the host name as labsystem.cse.psu.edu, and enter your user name on that system.
Don't forget that you might need to establish a VPN connection before this. When the SSH connection is established, your password is requested, and then the Terminal Window can be used as if you had opened a terminal window at the remote machine's console. You are logged in and ready to go.
When you are finished, type the command logout and close the Terminal Window. OK, you're all reasonable and intelligent people, but every semester, someone asks for help because his attempt to log into labsystem.cse.psu.edu didn't work.
Go back to the top of the page and read the instructions more carefully this time. You can copy files and directories/folders with the File Transfer Window and drag-and-drop. Check the file permissions on the Unix side after transferring files from Windows. Generally, too many permissions are set (more about this shortly). You should also take a look at ', especially the section.
Notes on the SSH Secure Shell Client for Windows We assume you are using Windows (Local), and have connected to Linux or Solaris on the CSE Dept. Systems (Remote).
Terminal Window. The terminal window is an emulator of some actual terminals, notably the DEC VT100, which could display 25 lines of 80 characters each. Unlike an actual VT100, you can increase the size of the terminal window, and use color. Another choice is to emulate an xterm, which is a terminal window on X-Windows, the usual window manager package for Unix systems. Usually the default is sufficient. File Transfer Window.
This works by drag-and-drop. Transferring a file copies only the file. Transferring a directory/folder copies the contents recursively.
Be careful what you click on the Remote side of the window. The SSH Client can copy files from one Remote directory to another Remote directory; that probably isn't what you want to do. Operation / File Transfer Mode or, the buttons reading 'abcdef' (ASCII), '010101' (Binary), '01c1ef' with a diagonal line through it (Auto Select).
This should normally be set to Auto Select. Binary mode will copy files between Windows and Unix/Linux systems 'as is'. ASCII mode will change 'return-newline' to 'newline', or 'newline' to 'return-newline' for plain text files. Files named something.txt will be treated by Auto Select as an ASCII mode transfer. Plain text files (on the Unix side) whose names do not end in.txt will be treated by Auto Select as a Binary mode transfer.
The list of file name extensions recognized by Auto Select is given at Edit / Settings / Global Settings / File Transfer / Mode. Edit / Settings / Global Settings / File Transfer. Under Options, select Check and confirm overwrite. Edit / Settings / Global Settings / File Transfer / Advanced. Check, Preserve original file time.
Upload. Check, Preserve original destination permissions. Default file permissions: 600. Default directory permissions: 700. File permissions on Windows are generally looser than file permissions on Unix systems. The convention for denoting a set of file permissions is three octal numbers, for user (owner), group, other, with the three bits denoting read, write and execute. For example, 600 means read-write is allowed for the owner of the file, and nothing is allowed for anyone else.
Directories need search permission, and the execute bit is used for that (some other bit elsewhere indicates file vs. So, 700 means read-write-search is allowed for the owner of the directory, and nothing is allowed for anyone else. If you are concerned that other people might read your files, then use these restrictive settings.
The most wide-open settings would be 644 and 755, which do not give anyone else permission to change your files. On the Unix side, the chmod command can be used to change file and directory permissions ( chmod = change mode). Notes on the Putty program for Windows, in 220 IST For various technical reasons that we won't try to explain here, the Windows systems in 220 IST run Putty instead of the SSH Client described above. It should be on your desktop. Putty allows connections using the older methods Telnet and Rlogin. Don't use these. Use SSH instead.
Drag-and-drop file transfer is not possible with Putty, but since you are on the CSE network it isn't really necessary. Click on Computer and then Network Location to get access to your Unix home directory, under an entry that looks like ' username ( CASA) (P:)'. More stuff There's actually another way to access the lab systems. After connecting to the Cisco VPN, if you want to connect to one of the machines in 218 IST, use the pseudo-address lab-218.cse.psu.edu.
This pseudo-address will connect you to a (more-or-less) random workstation in 218 IST. We didn't mention it earlier, because it doesn't always work smoothly. An entry for the pseudo-address is placed in your.ssh/knownhosts file, as if it was a real address, but the remote host identification changes on the next try, which ssh doesn't like.
You may need to edit the knownhosts file to clear the problem; just remove the line starting with lab-218.cse.psu.edu, and try again. Last revised, 5 Jan.
VPN or Virtual Private Network is designed to provide secure/encrypted access to computing resources on the PSU network. It allows, among other things, a method to connect to PSU computing resources (e.g., administrative access, email and p drive) as if the user were locally connected to the PSU network. This allows greater functionality and security than other remote access techniques. How does a person get access to VPN? If you are a faculty or staff member you already have access to VPN services using your PSU ID# and GUS unified password. What is PSU's VPN Policy?
Click to review PSU's VPN Policy. FAQs about VPN:. VPN access does not, by itself, provide internet connectivity. Users are responsible for providing their own internet connectivity via dial-up, cable modem, DSL, or other means to use the PSU VPN. Currently, VPN software is available for Windows, Android, IOS, and Mac OS X. VPN users will be automatically disconnected from the VPN after 90 minutes of inactivity.
The user must then reconnect to the VPN. Pings or other artificial network processes used to keep the connection open are not allowed. Only one active VPN connection is allowed per user and maximum connection time is limited to 24 hours.
Using the VPN to access internet resources external to PSU is not recommended. The VPN is an IP only resource. Other protocols are not supported. Peer-to-peer software is not allowed over VPN. The first Sunday of every month between the hours of 12:00 am and 7:45 am is reserved for regularly scheduled maintenance. Emergency maintenance will be scheduled as needed.
Directions:. Go to. Log in with your PSU ID and unified password (user@pittstate.edu and password).
You will see a download link for Windows, Apple, IOS, Android, etc. VPN Download. Select Download on the right side of the screen. Download the appropriate product.
Uvnc download for mac. Select and run the.exe file that downloads. This could take some time and will require a reboot of your computer if you are downloading to a computer. Once you have obtained the appropriate client, find the following icon:. Choose remote access first then select configure VPN:.
Enter the following credentials. Enter your PSU authentications (PSU ID and unified password). Once you have the client installed, simply launch it and the client will connect. © All Rights Reserved , Pittsburg State University prohibits discrimination on the basis of race, color, religion, sex, national origin, sexual orientation, age, marital or parental status, ancestry, genetic information, gender identity, gender expression, military or veteran status, or disabilities. The following person has been designated to address inquiries regarding the nondiscrimination policies: Director of Institutional Equity/Title IX Coordinator, 218 Russ Hall, 1701 S.
Broadway, Pittsburg, KS, 620-235-4189.