Difference between revisions of "How To Use SSH"
(No more departmental Solaris workstations. Mention ssh.ece.ubc.ca.) |
|||
Line 26: | Line 26: | ||
There are two Windows-based clients that you may wish to try: | There are two Windows-based clients that you may wish to try: | ||
+ | # [http://mobaxterm.mobatek.net/download.html MobaXterm] has a free personal edition which provides, telnet, X11/Xterm and secure FTP, CYGwin etc. in one executable file. | ||
# [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is a free Win32 Telnet/SSH client. | # [http://www.chiark.greenend.org.uk/~sgtatham/putty/ PuTTY] is a free Win32 Telnet/SSH client. | ||
# [http://winscp.sf.net/eng WinSCP] is a free graphical client for transferring files using SCP/SFTP. | # [http://winscp.sf.net/eng WinSCP] is a free graphical client for transferring files using SCP/SFTP. |
Revision as of 20:17, 4 March 2013
Contents
Background
SSH (Secure Shell) is a protocol that can be used to:
- obtain a shell prompt on a remote computer to execute command-line programs
- forward X11 connections to execute graphical programs remotely
- establish encrypted data tunnels to act as a makeshift VPN
- transfer files between computers using the associated SFTP (Secure File Transfer Protocol) or SCP (Secure Copy) protocols
SSH accomplishes all of these tasks using encrypted connections, preventing other network users from evesdropping on your communication and impersonating you. SSH replaces the older rsh, rexec, telnet and ftp protocols, which are not permitted on departmental servers because they transmit usernames and passwords unencrypted.
SSH utilities are available for all common operating systems.
Available SSH Clients
Departmental Windows Workstations
The departmental Windows workstations have the commercial (but free for University use) "SSH Secure Shell" version installed, as well as PuTTY.
Personal Use on Windows Workstations
There are two Windows-based clients that you may wish to try:
- MobaXterm has a free personal edition which provides, telnet, X11/Xterm and secure FTP, CYGwin etc. in one executable file.
- PuTTY is a free Win32 Telnet/SSH client.
- WinSCP is a free graphical client for transferring files using SCP/SFTP.
Departmental Linux Workstations
The departmental Linux workstations have the OpenSSH version of the ssh, scp, and sftp tools installed.
Mac OS X
Mac OS X includes ssh, scp, and sftp as commands accessible through the Terminal. For transferring files using SCP/SFTP, you may find Cyberduck useful.
Available SSH Servers
The department runs several Linux servers that are accessible by SSH from the Internet. In your SSH client, specify ssh.ece.ubc.ca as the hostname to connect to. A load balancer will automatically assign you to one of the available servers.
Researchers' workstations are protected by a firewall. If your client is outside the ECE network, you will not be able to SSH directly to your workstation. Instead, you should SSH to ssh.ece.ubc.ca, and within that SSH session, SSH to your workstation.