Lab Currently Closed Closed All Day on Saturday (Summer Break) more »

Remote shell and file transfer (SSH/SFTP)

A shell account refers to a text-mode interface where commands can be run interactively. All OCF accounts include shell account access. You can access your shell account over an encrypted connection in the OCF lab or remotely via SSH/SFTP.

We support the following commonly used shell account tools (to name a few):

  • Subversion, Git, and Mercurial: version control
  • cron and at: execute commands on a periodic or scheduled basis
  • vim and emacs: powerful and extensible text editors

Most SSH/SFTP clients will prompt you to accept an unknown key when you first connect. Our SSH fingerprint can be used to verify that you're connecting to the correct server:

2048 55:0a:e3:4f:4b:2c:15:f8:d4:7d:f9:93:bf:a0:41:21 tsunami.ocf.berkeley.edu (RSA)
1024 7e:19:bc:fd:b5:cd:5c:e3:42:a4:a5:74:eb:ce:5d:2e tsunami.ocf.berkeley.edu (DSA)
256  a2:4b:d5:17:43:2e:a7:ea:50:d7:ab:1f:63:45:a9:6c tsunami.ocf.berkeley.edu (ECDSA)
256  SHA256:h6Rnqg1tyl6VMFrotrR+DSnNW6DF8wQylVllkp03DIw tsunami.ocf.berkeley.edu (ECDSA)

SSH

Your shell account can be controlled remotely using SSH. The server name is ssh.ocf.berkeley.edu (tsunami).

From your browser

If you just need to access SSH quickly, you can use our web-based SSH interface from your web browser.

Mac OS X or Linux

On Mac OS X or Linux, enter in the terminal:

ssh username@ssh.ocf.berkeley.edu

Windows

On Windows, use PuTTY (download the putty.exe file):

  • Host Name: ssh.ocf.berkeley.edu
  • Port: 22

Mosh

We also support Mosh, an SSH alternative with improved support for laggy or roaming connections:

mosh username@ssh.ocf.berkeley.edu

SFTP

You can transfer files to your account using SFTP. To transfer files you can use the command line utility sftp, or a graphical program such as FileZilla (Linux, Mac, Windows), WinSCP (Windows), or Cyberduck (Mac, Windows).

Otherwise, use the following information in your SFTP client.

  • Protocol: SFTP (or SSH)
  • Host Name: ssh.ocf.berkeley.edu
  • Port: 22

Disk quotas

Currently, accounts are limited to 5 GB of disk usage under the home and web directories. You can check your disk usage by running quota -v over SSH or from your browser.

Unattended processes

You are welcome to run unattended processes on the OCF. However, you are ultimately responsible for ensuring that your unattended processes do not unduly interfere with others’ ability to use the shared computing resources.

In particular, if you are going to run a batch job which may require a lot of computing power, you are advised to run it under nice and/or ionice to lower its CPU priority and I/O priority respectively. OCF staff reserve the right to terminate or otherwise decrease the resource usage of processes which are consuming too many resources.

If you’re trying to run a webapp or other kind of server process on the SSH login server (ssh.ocf.berkeley.edu), please note that the SSH login server is firewalled and what you’re trying to do unfortunately won’t work. If you’re a group and you’re trying to run a webapp, you may want to consider apphosting instead.