1

I am working on Python paramiko. As we know in paramiko we can login to a remote host using the credentials

ssh.connect(hostname,username=username,password=password)

after that if I should get the root privilege by running some command privileged-mode enable this will prompt us for a password.

Here I am not able to get the root privileges to the device and I am facing problem in sending the password.

Can anybody help me!

Krishna Mohan
  • 1,503
  • 3
  • 22
  • 28
  • Possible duplicate of [How to run sudo with paramiko? (Python)](http://stackoverflow.com/questions/6270677/how-to-run-sudo-with-paramiko-python) – Doug Jan 06 '17 at 05:16
  • What problem are you facing in seding the password? – pynexj Jan 06 '17 at 06:03

0 Answers0