Logging In to the department Linux machines
From ComputingWiki
Logging in to the Department Linux Machines
Contents |
[edit]
Open SSH
- Download the software
- Install the software, accepting all the defaults
- Run the program and left click on the Quick Connect button
- Now enter the name of the machine you are connecting to in the host name field:
linux10.stat.iastate.edu
linux11.stat.iastate.edu - Fill in the window as follows:
In the Host Name field enter the name of the machine you want to use.
In the User Name field enter your ISU netid
In the Port Number field enter 323 - Now left click on Connect
- At the password screen enter your ISU password and left click "Okay"
- If you want to save this profile you can enter a unique name in the "Add To Profiles" window that just popped up. The click Add Profile and the next time you will be able to select the profile and then have only your password to enter
- Now that you are logged in you can open a new session by left clicking on the left icon on the toolbar (see picture below).
- You can also open a file transfer window by left clicking on the right icon below on the toolbar (see picture below).
- After you logged on the server, you might have issues as follows:
- You might see an error message like "krenew: error reading cache: Credentials cache file '/tmp/krb5cc_?????' not found"
- Solution: It's because you don't have Kerberos ticket to access Cyfiles folder. You can simply type "kinit" and authenticate with your netid and password.
- You might see an error message like "Could not chdir to home directory /home/NETID: No such file or directory"
- Solution: It's because you don't have home directory. Please log on https://smb.stat.iastate.edu/. If you are eligible, the server would create a home directory for you within 10 minutes.
- You might see an error message like "krenew: error reading cache: Credentials cache file '/tmp/krb5cc_?????' not found"
[edit]
X-Win32
- X-Win 32 should be available in any of the Stat Department labs on campus.
- It can be downloaded and installed using the instructions found here: Licensed Software
- You can also copy the X-Win32 9.1 Folder from \\kemp.stat.iastate.edu\Public (Q: drive on our lab machines) and then do this....
- Create a shortcut to xwin32.exe
- Edit the file XServer.config and change the path "Q:/X-Win32 9.1/Sessions" to wherever the Sessions directory is located on your computer.
- If you are off campus you will need to run a VPN client in order for XWin-32 to run because the license is specific to ISU IP numbers.
- Once the software is installed lets walk through setting up a new login
- Start X-Win32 ( we are assuming for this demo you will be using version 9.1)
- Left click on the icon to see the list of machines, if it is complete then skip the next step.
- Right click on the X-Win32 icon in the System Tray (lower right corner of the screen) and pick X-Config
- Left click on Wizard
- Select ssh as the type
- Type the name of the machine in the name field (linux4,linux5, etc.) and then left click next.
- Enter the fully qualified domain name of the machine.
- Enter your login name and leave the password field empty
- Click on next
- Double click on Linux and then select Finish.
- You may need to change the Security tab to allow all hosts or to restrict them based on IP number.
- Once everything is setup you left click on the XWin-32 icon and pick the machine you want to use.
Enter your ISU netid and password and an X terminal should open in a few seconds.
[edit]
Cygwin/X
- Visit and read the FAQ
- Download and install the software
- You should now be able to ssh from a Cygwin/X X terminal to one of our machines using the following command.
- ssh -p 323 -X ISU-NETID@linux[4-10].stat.iastate.edu
- If your local account name matches your ISU netid then you can don't need to put your netid in front of the name of the machine.
- The -X enables X11 forwarding which is required to run anything through X11 securely.
- ssh -p 323 -X ISU-NETID@linux[4-10].stat.iastate.edu
[edit]
Mac
- Mac's are a strange breed of Unix that does not come with X11 support installed even though OSX is a UNIX based OS.
- The first thing you need to do is to install X11. It can be found on the CD's you received from Apple or you can download it from Apple.
- Install X11
- Open an X11 terminal and ssh just like you would using the options for Cygwin/X.
[edit]
Linux
- Open a terminal window and run the same ssh commands listed above.
[edit]
Using Telnet to get to a Project Vincent machine
- It is possible to log into a Project Vincent machine from one of our Linux machines:
- Log into isua1 using forwardable Kerberos tokens
- telnet -x -f isua1.iastate.edu
- Log into isua1 as someone else
- telnet -x -l jonesb isua1.iastate.edu
- Log into isua1 as yourself, with a password
- telnet -x isua1.iastate.edu
- Log into isua1 using forwardable Kerberos tokens
[edit]
