Lines Matching full:ssh
22 '/usr/bin/ssh -a -x -N '
37 """Manages multiplex ssh connection."""
58 """Returns the ssh option to use this multiplexed ssh.
67 """Starts the background process to run multiplex ssh connection.
73 @param timeout: timeout in seconds (default 5) to wait for main ssh
79 # ssh connection and create a new one, therefore use a lock to protect
82 # If a previously started main SSH connection is not running
87 'Main-ssh connection to %s is down.', self._hostname)
90 # Start a new main SSH connection.
95 # Start the main SSH connection in the background.
103 'Starting main-ssh connection \'%s\'', main_cmd)
105 main_cmd, nickname='main-ssh',
109 # To prevent a race between the main ssh connection
117 desc='main-ssh connection up')
124 """Releases all resources used by multiplexed ssh connection."""
131 logging.debug('Nuking ssh main_job')
136 logging.debug('Cleaning ssh main_tempdir')
142 """Holds SSH multiplex connection instance."""
161 logging.debug('Get main ssh connection for %s@%s%s', user, hostname,
172 """Closes all ssh multiplex connections."""
173 for ssh in six.itervalues(self._pool):
174 ssh.close()
183 d = '/tmp/ssh-main_%s' % user