Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ssh communicator with paramiko
- ssh = paramiko.SSHClient()
- ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
- ssh.connect(host, username=username, password=password)
- stdin, stdout, stderr = ssh.exec_command('ls -l')
- ssh.close()
- userauth is OK
- transport._log() => Authentication type (publickey) not permitted.
- transport._log() => Allowed methods: ['password']
- transport._log() => EOF in transport thread
Add Comment
Please, Sign In to add comment