This page covers a variety of commands revolving around the Secure Shell (SSH). SSH is the best way to login and manage your Open Remote Backup Account.
To use SSH, you'll need an SSH client:
First, the command used to invoke an SSH session is different. Instead of:
To open a terminal (command prompt) in Windows:
To open a terminal in Mac:
This step is optional: if you want to connect to your space without having to enter a password, or you want to script SSH commands, you should set up a keypair.Notes:
sudo), so that you have full access to all the files on your machine.
sudo ssh-keygen -f /backup/ssh_key -t rsa -N ''
An SSH key pair allows you to securely log in to your backup server without entering a password each time.
sudo rsync -e ssh /backup/ssh_key.pub email@example.com:ssh_keys/key1.pub
ssh firstname.lastname@example.org addkeys
userwith your EVBackup account name.
sudo ssh -i /backup/ssh_key email@example.com
If you were successful, then something very similar to the following will appear in Terminal:
Last login: Thu Jul 15 16:16:44 2010 from c-28-26-13-101.
Copyright (c) 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.4-STABLE (EXAVAULT) #1:
To start an SSH session, open a terminal and enter the following:
To open an SSH session without being prompted for a password:
ssh -i /path/to/private/key firstname.lastname@example.org
To redirect the results of a command from the remote server to a file (e.g. a log):
ssh email@example.com [command] [command-args] >> /local/file
Here are some of the more common tasks that you can do with your EVBackup account.
To obtain a list of the directory sizes on your account:
ssh -i /path/to/private/key firstname.lastname@example.org du -hd1
To obtain an MD5 checksum of a file on your account:
ssh -i /path/to/private/key email@example.com md5 [remote-file]
To obtain a recursive directory listing — with human readable file sizes, group / owner lists, file timestamps, and hidden files shown:
ssh -i /path/to/private/key firstname.lastname@example.org ls -AlhpR
To obtain the current time from the EV server (GMT):
ssh -i /path/to/private/key email@example.com date