getConnStringSSH
getConnStringSSH |
Purpose
Generate a connection string for an SSH link.
Synopsis
function getConnStringSSH(inst:EC2instance):string
Argument
inst
|
Target instance
|
Return value
A connection string suitable for the
connect routine of
mmjobs.
Further information
The resulting connection string is of the form
"rcmd:mplink -batch -ssh -i keyfile user@ipaddr mosel -r" on Windows systems and
"rcmd:ssh -o StrictHostKeyChecking=no -i keyfile user@ipaddr mosel -r" on Unix-like operating systems.
Related topics