Commit 03dc5b2a authored by Anton Akhmerov's avatar Anton Akhmerov

Merge branch 'ssh-hpc05' into 'master'

SSH between nodes on hpc05

See merge request qt/cookbook!3
parents 2a358f3c 23ed3261
......@@ -73,3 +73,14 @@ scp -r ~/.ssh io:
Now you should be able to do: `ssh io` -> `ssh hpc05`.
Some ways of scheduling jobs, like `adaptive-scheduler`, require password-less `ssh` between the physical nodes of `hpc05`. To set this up, run the following two lines on `hpc05`:
# Populate known hosts
for i in $(seq -f "%02g" 1 48); do ssh-keyscan -H n05-$i >> ~/.ssh/known_hosts; done
# Public key auth
ssh-copy-id hpc05
After this you should be able to `ssh hpc05` -> `ssh n05-xx` (where xx is the physical node id) without having to confirm any keys. Note that it is only possible to `ssh` to nodes where you have an active job running. To see the physical node your job is running on use `qstat -n`.
\ No newline at end of file
Markdown is supported
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