EECS168 09:SSH Instructions
| Navigation |
|---|
| Home |
| Information |
| Classwork |
Connecting to your EECS account from a remote computer
You can use SSH to log into a remote machine and execute commands. An SSH client program is typically used for establishing connections to an SSH daemon accepting remote connections. Most modern operating systems commonly have an SSH client present on them. If not, you can visit http://www.openssh.org to find a client for your personal machine.
The EECS department has four general purpose cycle servers. The host names of these these machines are cycle1.eecs.ku.edu, cycle2.eecs.ku.edu, cycle3.eecs.ku.edu and cycle4.eecs.ku.edu. You can use your ssh client to get connected to any of these four servers.
To practice this you can use one of the windows machines at EECS to try to ssh to your EECS account. Once you log into one of the windows machines (either log into your EECS or KU account), select WinScp or PuTTY from the list of programs (If you have logged in through your KU account, you will find them under SSH Tools). You will be using your EECS username and Password to SSH, and the host name would be one of the cycle servers. If you have logged in through WinScp, press Ctrl+T to open a Terminal, if you have used PuTTY you should already be on a command prompt. If you are using a linux or Mac OS machine at home, you should be able to type in 'ssh your-eecs-username@cycle4.eecs.ku.edu' to log in, once you hit Enter, it will ask for the password (use your EECS password) and then you are connected. Once you are connected to the server you can execute commands as if you were sitting at one of the lab computers.
If you have done your lab 01 assignment, you can try the following commands after you successfully use ssh to login to one of the servers:
- cd
- cd lab01
- g++ letslearn.cpp -o testSSH
- ./testSSH