====== Login and data transfer ======
* Article written by Irene Reichl (VSC Team) (last update 2020-09-22 by ir).
====== Project and User Account ======
{{.:folie_01_1_connect.png?0x600}}
----
====== Project and User Account ======
{{.:folie_01_3_connect.png?0x600}}
----
====== Connecting to VSC ======
{{.:folie_04_ssh_l31.png?0x600}}
----
====== Connecting to VSC ======
{{.:folie_05_ssh_l31.png?0x600}}
----
====== Connecting to VSC ======
===== Terminals: =====
linux: xterm, mac: terminal ## alternative terminal connection ''%%PuTTY%%'' {{.:putty.png?0x670}}
----
====== Connecting to VSC ======
(DEMO)
===== VSC-3 =====
[...]$ ssh @vsc3.vsc.ac.at
# dedicated server :
[...]$ ssh @l31.vsc.ac.at
..
[...]$ ssh @l35.vsc.ac.at
===== VSC-4 =====
[...]$ ssh @vsc4.vsc.ac.at
# dedicated server :
[...]$ ssh @l40.vsc.ac.at
..
[...]$ ssh @l49.vsc.ac.at
----
====== .bashrc ======
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
----
====== again and again ======
{{.:folie_06_oida.png?0x600}}
----
====== again and again ======
{{.:folie_07_oida.png?0x600}}
----
====== ssh-keys ======
{{.:folie_08_ssh_keys.png?0x600}}
----
====== ssh-keys ======
{{.:sshkeys_v03.png?0x600|how to set up ssh-keys on client and login node}}
[[https://wiki.vsc.ac.at/doku.php?id=doku:vpn_ssh_access|WIKI-link: ssh-keys]]
----
====== ssh-keys — tunneling ======
{{.:folie_09_ssh_keys.png?0x600}}
----
====== ssh-keys — tunneling ======
{{.:sshkeys_3servers_v03.png?0x600|how to set up ssh-keys on client and login node}}
----
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 @vsc4.vsc.ac.at # copy key to remote machine
will be asked for password & OTP on VSC-4
more about the [[https://www.ssh.com/ssh/agent|SSH agent]]
----
====== Backup Policy ======
{{.:folie_10_backup.png?0x600}}
for details see Markus Hickel/Storage
----
====== Sync and Copy ======
{{.:folie_11_scp_rsyn.png?0x600}}
----
====== Sync and Copy ======
scp
rsync [OPTIONs]
in order to setup on the remote machine, follow: [[https://wiki.vsc.ac.at/doku.php?id=doku:backupcontinous_backup_of_user_data_to_remote_machines|WIKI-link:rsync on remote machines]]
----
====== Copy — alternative via FileZilla ======
{{.:filezilla_10.png?0x600|FileZilla}}
----
====== Copy — alternative via winscp ======
{{.:winscp.png?0x600|winscp}}
----