noc.core.script.cli.ssh

Module Contents

class noc.core.script.cli.ssh.SSHIOStream(sock, cli, *args, **kwargs)

Bases: tornado.iostream.IOStream

SSH_KEY_PREFIX
startup(self)

SSH session startup

read_from_fd(self)
write_to_fd(self, data)
close(self, exc_info=False)
auth_publickey(self)

Public key authentication

auth_keyboardinteractive(self)

Keyboard-interactive authentication. Send username and password

auth_password(self)

Password authentication. Send username and password

class noc.core.script.cli.ssh.SSHCLI

Bases: noc.core.script.cli.base.CLI

name = ssh
default_port = 22
iostream_class