This version (2024/10/24 10:28) is a draft.
Approvals: 0/1
Approvals: 0/1
Login and data transfer
- Article written by Irene Reichl (VSC Team) <html><br></html>(last update 2020-09-22 by ir).
Project and User Account
Project and User Account
Connecting to VSC
Connecting to VSC
Connecting to VSC
Terminals:
linux: xterm, mac: terminal ## alternative terminal connection <html><font color=#cc3300></html> PuTTY
<html></font></html>
Connecting to VSC
(DEMO)
VSC-3
[...]$ ssh <me>@vsc3.vsc.ac.at # dedicated server : [...]$ ssh <me>@l31.vsc.ac.at .. [...]$ ssh <me>@l35.vsc.ac.at
VSC-4
[...]$ ssh <me>@vsc4.vsc.ac.at # dedicated server : [...]$ ssh <me>@l40.vsc.ac.at .. [...]$ ssh <me>@l49.vsc.ac.at
.bashrc
export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8
again and again
again and again
ssh-keys
ssh-keys
ssh-keys — tunneling
ssh-keys — tunneling
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
Backup Policy
Sync and Copy
Sync and Copy
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