- Connecting from Linux
- Connecting from Mac OS X
- Connecting from Windows
- Secure File Transfer
- List of ECE Host Names
- Related Links/Issues
Connecting from Linux
Connecting using a terminal/command line interface
- 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 ece-support@ucdavis.edu
- 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.
- Accept the RSA key.
- Login as you normally would with your ECE username & password.
Connecting to use Graphical Interfaces
- 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 ece-support@ucdavis.edu
- 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.
- Accept the RSA key.
- Login as you normally would with your ECE username & password.
- Run graphical applications from the terminal followed by an & (ampersand).
- hostname is the name of an ECE machine listed here: Host Names
Connecting from Mac OS X
Connecting using a terminal/command line interface
- Go to Finder -> Applications -> Utilities -> Terminal and open the terminal.
- 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
- Accept the RSA key.
- Login as you normally would with your ECE username & password.
- hostname is the name of an ECE machine listed here: Host Names
Connecting from Windows
Installing MobaXterm on Windows 7
MobaXterm is a free SSH client and X server you can use from your personal computer to run software from ECE machines.
To download MobaXterm, go to http://mobaxterm.mobatek.net/download-home-edition.html and click on the first download link for MobaXterm v6.2 (installer):
After the installer finishes downloading, double-click it and follow the prompts to install MobaXterm.
Running MobaXterm
After installation, MobaXterm will place a shortcut on your desktop. Double-click to start MobaXterm. If Windows asks you to allow MobaXterm through your firewall, let it through.
At the command line, use ssh with the -l (lowercase L) option and your Kerberos login name to log into an ECE machine. For example:
ssh -l batman snake.ece.ucdavis.edu
MobaXterm will ask if you want to save your password.
Now you can run quartus, cscope, matlab, or any other ECE software from the command prompt. The new program windows will open on your desktop.
Secure File Transfer
The recommended and supported method to remotely access files is to use SCP or SFTP, which are functions of the SSH service.
SCP and SFTP on Linux
Fugu on Mac OS X
WinSCP on Windows
SCP and SFTP 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
Please refer to Host Names for ECE hosts to connect to.
Fugu on Mac OS X
Users of Mac OS X can refer to Fugu for Mac OS X for secure file transfers.
Also refer to Host Names for ECE hosts to connect to.
WinSCP on Windows
Downloading & Installing WinSCP
Windows users can download and install the latest version of WinSCP in order to perform secure file transfers.
- Double-click the WinSCP installer
- Welcome to WinSCP Setup Wizard Screen
- Click ‘Next’.
- License Agreement Screen
- Click ‘Next’.
- Setup Type Screen
- Leave the default as ‘Typical’ installation; Click ‘Next’.
- Initial User Settings Screen
- Here you can choose a preferred interface for the program.
- The default, ‘Norton Commander interface’, works well; Click ‘Next’.
- Ready to Install Screen
- Click ‘Next’.
- Completing the WinSCP Setup Wizard Screen
- Uncheck the box for ‘Launch WinSCP’; Click ‘Finish’.
Using WinSCP
- Once connected to a host, the interface lists the local directories on the left and the remote directories on the right.
- File transfers to and from the host can be accomplished by simply dragging and dropping files and/or folders between the interface divider.
- When you are finished with file transfers, you may exit the program as you would with any other program.
Please refer to Host Names for ECE hosts to connect to.
Related Links/Issues
- VNC tutorial
- Having problems running graphical programs?
Check our software page to see if there is a solution for the software you are using.