linux: xterm, mac: terminal ## alternative terminal connection <html><font color=#cc3300></html> PuTTY
<html></font></html>
(DEMO)
[...]$ ssh <me>@vsc3.vsc.ac.at # dedicated server : [...]$ ssh <me>@l31.vsc.ac.at .. [...]$ ssh <me>@l35.vsc.ac.at
[...]$ ssh <me>@vsc4.vsc.ac.at # dedicated server : [...]$ ssh <me>@l40.vsc.ac.at .. [...]$ ssh <me>@l49.vsc.ac.at
export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8
DEMO:
[...]$ eval `ssh-agent` # start ssh agent [...]$ echo $SSH_AGENT_SOCK # check if it is running [...]$ chmod 700 ~./ssh # change rights of .ssh-directioy [...]$ ssh-keygen -t rsa # generate key on local machine
will be asked to create a pass phrase. that passphrase must be as secure as your password. IT IS POSSIBLE AT THAT POINT TO GIVE NO PASSWORD, BUT NEVER EVER GENERATE A KEY WHICH IS NOT PROTECTED !!! This may be a hazard for our systemm
[...]$ ssh-copy-id <me>@vsc4.vsc.ac.at # copy key to remote machine
will be asked for password & OTP on VSC-4
more about the SSH agent
scp <source> <destination> scp <me>@vsc3.vsc.ac.at:~/<myfile.c> . scp myfile.c <me>@vsc4.vsc.ac.at:~/
rsync [OPTIONs] <source> <destination> maybe useful: -av, --exclude=/daten/temp/...
in order to setup on the remote machine, follow: WIKI-link:rsync on remote machines