stain_ssh_setup: Create bash code for ssh setup.

Description Usage Arguments Value Note

Description

In order for a remote submission to work, an ssh public key for Stain must be present in the remote host's ~/.ssh/authorized_keys list. This process requires two steps. 1) To scp the public key and 2) to add the key to ~/.ssh/authorized_keys. This function will autogenerate the necessary bash code to complete these steps.

Usage

1
stain_ssh_setup(user, host)

Arguments

user

The user on your remote host.

host

The static ip address or url for the remote host.

Value

A single bash command to run.

Note

The generated bash code will ask you for your remote host password twice. This is expected.


jmousseau/slurm documentation built on May 19, 2019, 1:55 p.m.