Lines Matching full:ssh

14 """Ssh Utilities."""
44 """Runs a single SSH command.
46 - SSH returns code 0 for "Successful execution".
50 cmd: String of the full SSH command to run, including the SSH binary
71 """Runs a single SSH command.
73 - SSH returns code 0 for "Successful execution".
77 cmd: String of the full SSH command to run, including the SSH binary
98 """Runs a single SSH command while logging its output and processes its return code.
101 SSH returns error code 255 for "failed to connect", so this is interpreted as a failure in
102 SSH rather than a failure on the target device and this is converted to a different exception
106 cmd: String of the full SSH command to run, including the SSH binary and its arguments.
157 Fetch the content of "message" or "response" from the ssh output and filter
162 stdout: String of the ssh output.
165 String of the formatted ssh output.
195 If the network is unstable and causes SSH connect fail, it will retry. When
201 cmd: String of the full SSH command to run, including the SSH binary and its arguments.
241 class Ssh(): class
248 _extra_args_ssh_tunnel: String, extra args for ssh or scp.
250 _gce_hostname: String, the hostname for ssh connect.
268 """Run a shell command over SSH on a remote instance.
271 ssh:
272 base_cmd_list is ["ssh", "-i", "~/private_key_path" ,"-l" , "user", "1.1.1.1"]
294 """Get a base command over SSH on a remote instance.
297 execute bin is ssh:
298 ssh -i ~/private_key_path $extra_args -l user 1.1.1.1
303 execute_bin: String, execute type, e.g. ssh or scp.
326 """Runs a single SSH command and get its output.
343 """Run remote 'uptime' ssh command to check ssh connection.
349 errors.DeviceConnectionError: Ssh isn't ready in the remote instance.
357 "Ssh isn't ready in the remote instance.") from e
359 @utils.TimeExecute(function_description="Waiting for SSH server")
361 """Wait until the remote instance is ready to accept commands over SSH.
369 errors.DeviceConnectionError: Ssh isn't ready in the remote instance.
386 "Ssh connect timeout.\nYou can try the ssh connect command to "