Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import paramiko
- server = shell.auction4.me
- username = root
- password = t345wwer23
- ssh = paramiko.SSHClient()
- ssh.connect(server, username=username, password=password)
- ssh_stdin, ssh_stdout, ssh_stderr = ssh.exec_command(cmd_to_execute)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement