Skip to content
Snippets Groups Projects

Content revision

Merged David Hrbáč requested to merge content_revision into master
2 files
+ 14
35
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -11,7 +11,7 @@ The Anselm cluster is accessed by SSH protocol via login nodes login1 and login2
@@ -11,7 +11,7 @@ The Anselm cluster is accessed by SSH protocol via login nodes login1 and login2
|login1.anselm.it4i.cz|22|ssh|login1|
|login1.anselm.it4i.cz|22|ssh|login1|
|login2.anselm.it4i.cz|22|ssh|login2|
|login2.anselm.it4i.cz|22|ssh|login2|
The authentication is by the [private key](../../../get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/ssh-keys/)
The authentication is by the [private key](../get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/ssh-keys/)
!!! Note "Note"
!!! Note "Note"
Please verify SSH fingerprints during the first logon. They are identical on all login nodes:
Please verify SSH fingerprints during the first logon. They are identical on all login nodes:
@@ -33,7 +33,7 @@ If you see warning message "UNPROTECTED PRIVATE KEY FILE!", use this command to
@@ -33,7 +33,7 @@ If you see warning message "UNPROTECTED PRIVATE KEY FILE!", use this command to
local $ chmod 600 /path/to/id_rsa
local $ chmod 600 /path/to/id_rsa
```
```
On **Windows**, use [PuTTY ssh client](../../../get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/putty/putty/).
On **Windows**, use [PuTTY ssh client](../get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/putty.md).
After logging in, you will see the command prompt:
After logging in, you will see the command prompt:
@@ -54,9 +54,8 @@ Last login: Tue Jul 9 15:57:38 2013 from your-host.example.com
@@ -54,9 +54,8 @@ Last login: Tue Jul 9 15:57:38 2013 from your-host.example.com
Example to the cluster login:
Example to the cluster login:
<tty-player controls src=/src/anselm/login_anselm.ttyrec></tty-player>
!!! Note "Note"
The environment is **not** shared between login nodes, except for [shared filesystems](../storage/storage/#shared-filesystems).
>The environment is **not** shared between login nodes, except for [shared filesystems](../storage/storage/#section-1).
Data Transfer
Data Transfer
-------------
-------------
@@ -69,7 +68,7 @@ Data in and out of the system may be transferred by the [scp](http://en.wikipedi
@@ -69,7 +68,7 @@ Data in and out of the system may be transferred by the [scp](http://en.wikipedi
|login2.anselm.it4i.cz|22|scp, sftp|
|login2.anselm.it4i.cz|22|scp, sftp|
|dm1.anselm.it4i.cz|22|scp, sftp|
|dm1.anselm.it4i.cz|22|scp, sftp|
The authentication is by the [private key](../../../get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/ssh-keys/)
The authentication is by the [private key](../get-started-with-it4innovations/accessing-the-clusters/shell-access-and-data-transfer/ssh-keys/)
!!! Note "Note"
!!! Note "Note"
Data transfer rates up to **160MB/s** can be achieved with scp or sftp.
Data transfer rates up to **160MB/s** can be achieved with scp or sftp.
@@ -86,8 +85,6 @@ On linux or Mac, use scp or sftp client to transfer the data to Anselm:
@@ -86,8 +85,6 @@ On linux or Mac, use scp or sftp client to transfer the data to Anselm:
```bash
```bash
local $ scp -i /path/to/id_rsa my-local-file username@anselm.it4i.cz:directory/file
local $ scp -i /path/to/id_rsa my-local-file username@anselm.it4i.cz:directory/file
```
```
For example how to using scp command:
<tty-player controls src=/src/anselm/transfer_scp_anselm.ttyrec></tty-player>
```bash
```bash
local $ scp -i /path/to/id_rsa -r my-local-dir username@anselm.it4i.cz:directory
local $ scp -i /path/to/id_rsa -r my-local-dir username@anselm.it4i.cz:directory
@@ -98,8 +95,6 @@ or
@@ -98,8 +95,6 @@ or
```bash
```bash
local $ sftp -o IdentityFile=/path/to/id_rsa username@anselm.it4i.cz
local $ sftp -o IdentityFile=/path/to/id_rsa username@anselm.it4i.cz
```
```
For example how to using sftp command:
<tty-player controls src=/src/anselm/transfer_sftp_anselm.ttyrec></tty-player>
Very convenient way to transfer files in and out of the Anselm computer is via the fuse filesystem [sshfs](http://linux.die.net/man/1/sshfs)
Very convenient way to transfer files in and out of the Anselm computer is via the fuse filesystem [sshfs](http://linux.die.net/man/1/sshfs)
@@ -119,7 +114,7 @@ $ man sshfs
@@ -119,7 +114,7 @@ $ man sshfs
On Windows, use [WinSCP client](http://winscp.net/eng/download.php) to transfer the data. The [win-sshfs client](http://code.google.com/p/win-sshfs/) provides a way to mount the Anselm filesystems directly as an external disc.
On Windows, use [WinSCP client](http://winscp.net/eng/download.php) to transfer the data. The [win-sshfs client](http://code.google.com/p/win-sshfs/) provides a way to mount the Anselm filesystems directly as an external disc.
More information about the shared file systems is available [here](../../storage/storage/).
More information about the shared file systems is available [here](../storage/storage/).
Connection restrictions
Connection restrictions
@@ -170,8 +165,7 @@ Note: Port number 6000 is chosen as an example only. Pick any free port.
@@ -170,8 +165,7 @@ Note: Port number 6000 is chosen as an example only. Pick any free port.
Remote port forwarding from compute nodes allows applications running on the compute nodes to access hosts outside Anselm Cluster.
Remote port forwarding from compute nodes allows applications running on the compute nodes to access hosts outside Anselm Cluster.
First, establish the remote port forwarding form the login node, as [described
First, establish the remote port forwarding form the login node, as [described above](../anselm-cluster-documentation/shell-and-data-access/#port-forwarding-from-login-nodes).
above](outgoing-connections.html#port-forwarding-from-login-nodes).
Second, invoke port forwarding from the compute node to the login node. Insert following line into your jobscript or interactive shell
Second, invoke port forwarding from the compute node to the login node. Insert following line into your jobscript or interactive shell
@@ -196,7 +190,7 @@ local $ ssh -D 1080 localhost
@@ -196,7 +190,7 @@ local $ ssh -D 1080 localhost
On Windows, install and run the free, open source [Sock Puppet](http://sockspuppet.com/) server.
On Windows, install and run the free, open source [Sock Puppet](http://sockspuppet.com/) server.
Once the proxy server is running, establish ssh port forwarding from Anselm to the proxy server, port 1080, exactly as [described above](outgoing-connections/#port-forwarding-from-login-nodes).
Once the proxy server is running, establish ssh port forwarding from Anselm to the proxy server, port 1080, exactly as [described above](../anselm-cluster-documentation/shell-and-data-access/#port-forwarding-from-login-nodes).
```bash
```bash
local $ ssh -R 6000:localhost:1080 anselm.it4i.cz
local $ ssh -R 6000:localhost:1080 anselm.it4i.cz
Loading