Commit 16b22982 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files


parent 1a3d2b28
......@@ -30,13 +30,13 @@ Private key authentication:
On **Linux** or **Mac**, use
local $ ssh -i /path/to/id_rsa
$ ssh -i /path/to/id_rsa
If you see warning message "UNPROTECTED PRIVATE KEY FILE!", use this command to set lower permissions to private key file.
local $ chmod 600 /path/to/id_rsa
$ chmod 600 /path/to/id_rsa
On **Windows**, use [PuTTY ssh client](../general/accessing-the-clusters/shell-access-and-data-transfer/
......@@ -89,23 +89,23 @@ To achieve 160MB/s transfer rates, the end user must be connected by 10G line al
On linux or Mac, use scp or sftp client to transfer the data to Anselm:
local $ scp -i /path/to/id_rsa my-local-file
$ scp -i /path/to/id_rsa my-local-file
local $ scp -i /path/to/id_rsa -r my-local-dir
$ scp -i /path/to/id_rsa -r my-local-dir
local $ sftp -o IdentityFile=/path/to/id_rsa
$ sftp -o IdentityFile=/path/to/id_rsa
Very convenient way to transfer files in and out of the Anselm computer is via the fuse filesystem [sshfs](
local $ sshfs -o IdentityFile=/path/to/id_rsa mountpoint
$ sshfs -o IdentityFile=/path/to/id_rsa mountpoint
Using sshfs, the users Anselm home directory will be mounted on your local computer, just like an external disk.
......@@ -150,7 +150,7 @@ It works by tunneling the connection from Anselm back to users workstation and f
Pick some unused port on Anselm login node (for example 6000) and establish the port forwarding:
local $ ssh -R
$ ssh -R
In this example, we establish port forwarding between port 6000 on Anselm and port 1234 on the By accessing localhost:6000 on Anselm, an application will see response of The traffic will run via users local workstation.
......@@ -190,7 +190,7 @@ Port forwarding is static, each single port is mapped to a particular port on re
To establish local proxy server on your workstation, install and run SOCKS proxy server software. On Linux, sshd demon provides the functionality. To establish SOCKS proxy server listening on port 1080 run:
local $ ssh -D 1080 localhost
$ ssh -D 1080 localhost
On Windows, install and run the free, open source [Sock Puppet]( server.
......@@ -198,7 +198,7 @@ On Windows, install and run the free, open source [Sock Puppet](http://sockspupp
Once the proxy server is running, establish ssh port forwarding from Anselm to the proxy server, port 1080, exactly as [described above](#port-forwarding-from-login-nodes).
local $ ssh -R 6000:localhost:1080
$ ssh -R 6000:localhost:1080
Now, configure the applications proxy settings to **localhost:6000**. Use port forwarding to access the [proxy server from compute nodes](#port-forwarding-from-compute-nodes) as well.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment