Package roshlaunch :: Module remoteprocess
[frames] | no frames]

Module remoteprocess

source code

Process handler for launching ssh-based roslaunch child processes.

Classes
  SSHChildROSLaunchProcess
Process wrapper for launching and monitoring a child roslaunch process over SSH
Functions
str
ssh_check_known_hosts(ssh, address, port, username=None, logger=None)
Validation routine for loading the host keys and making sure that they are configured properly for the desired SSH.
source code
Variables
  TIMEOUT_SSH_CONNECT = 30.
Function Details

ssh_check_known_hosts(ssh, address, port, username=None, logger=None)

source code 

Validation routine for loading the host keys and making sure that they are configured properly for the desired SSH. The behavior of this routine can be modified by the ROSLAUNCH_SSH_UNKNOWN environment variable, which enables the paramiko.AutoAddPolicy.

Parameters:
  • ssh (paramiko.SSHClient) - paramiko SSH client
  • address (str) - SSH IP address
  • port (int) - SSH port
  • username (str) - optional username to include in error message if check fails
  • logger (logging.Logger) - (optional) logger to record tracebacks to
Returns: str
error message if improperly configured, or None