Remote Connection Tutorial
Connecting to the COE VPN is not necessary.
- Connecting to Kemper 2107 from Linux
Prior to following any of the steps in the below, connect to the Campus VPN.
Connecting to the COE VPN is not necessary.Connecting using a terminal/command line interface
1) From a terminal type:
ssh -l username hostname
If you receive an error message that ends with Host key verification failed, and if you are connecting to a grouped machine such as snake.ece.ucdavis.edu, you will need to remove the offending ssh key.
ssh-keygen -R snake.ece.ucdavis.edu
If you aren’t connecting to a grouped machine, and you receive this message,
please e-mail coeithelp@ucdavis.edu
2) Accept the RSA key.
3) Login as you normally would with your campus username and password.
campus
Connecting to use Graphical Interfaces
1) From a terminal in an X-windows environment type:
ssh -X -l username hostname
If you receive an error message that ends with Host key verification failed, and if you are connecting to a grouped machine such as snake.ece.ucdavis.edu, you will need to remove the offending ssh key.
ssh-keygen -R snake.ece.ucdavis.edu
If you aren’t connecting to a grouped machine, and you receive this message, please e-mail coeithelp@ucdavis.edu
2) Accept the RSA key.
3) Login as you normally would with your campus username and password.
4) Run graphical applications from the terminal followed by an & (ampersand).
hostname is the name of an ECE machine listed here:
Undergraduate Instructional Labs
Note: The software you wish to use may not be available on a system in a different lab room than the room(s) assigned to your course.
To connect to a grouped machine in Kemper 2107 use: snake.ece.ucdavis.edu
Faculty
Faculty have a hostname aliased to a Linux system which they can connect to.
To connect to the faculty machine use: fac-linux.ece.ucdavis.edu
Note: this is not grouped. If you receive a host key mismatch when connecting, please send an e-mail to coeithelp@ucdavis.edu- Connecting to Kemper 2107 from macOS
- Prior to following any of the steps in the below, connect to the Campus VPN.
Connecting to the COE VPN is not necessary.
Connecting using a terminal/command line interface
1) Go to Finder -> Applications -> Utilities -> Terminal and open the terminal.
2) From the terminal type:
ssh -l username hostname
If you receive an error message that ends with Host key verification failed, and if you are connecting to a grouped machine such as snake.ece.ucdavis.edu, you will need to remove the offending ssh key.
ssh-keygen -R snake.ece.ucdavis.edu
3) Accept the RSA key.
4) Login as you normally would with your campus username and password.
5) hostname is the name of an ECE machine found in Kemper 2107. - Connecting to Kemper 2107 from Windows
Windows Subsystem for Linux can provide a Linux terminal within Windows 10. Once you have it installed, you can follow the Linux-based directions to use ssh at the command-line to connect.
Windows Terminal for Windows 10 can provide a terminal experience much like Linux or MacOS.
- Secure File Transfer on Linux
SCP is used to securely copy and retrieve files from a host.
To upload a file from the local system
scp SourceFile username@hostname:folder/TargetFile
To upload a directory from the local system
scp -r SourceDir username@hostname:TargetDir
To retrieve a file from the remote system
scp username@hostname:folder/SourceFile TargetFile
SFTP is used to securely connect to a host and interactively transfer files. It can also be used in the same manner and format as scp. NOTE: SFTP cannot copy directories.To connect to a host using sftp
sftp hostname
Once connected, a call to help will show you the commands available
help
But the basic command to retrieve a file will be
get path/SourceFilename
And the basic command to upload a file will be
put path/SourceFilename
Also refer to Host Names for ECE hosts to connect to.- Secure File Transfer on macOS
- See Installing and Using FileZilla
Refer to Host Names for ECE hosts to connect to. - Secure File Transfer on Windows
- See Installing and Using FileZilla
Please refer to Host Names for ECE hosts to connect to. - Access the ECE RedHat Kemper 2107 sytems using Remote Desktop
See KB article Electrical and Computer Engineering RedHat Lab Resource Guide located at https://kb.ucdavis.edu/?id=11339
If you have any trouble, you can always contact us at coeithelp@ucdavis.edu.