Guest User

Untitled

a guest
Dec 18th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. *** Warning: Expected privileged user 'cyg_server' does not exist.
  2. *** Warning: Defaulting to 'SYSTEM'
  3.  
  4. >>> import paramiko
  5. >>> ssh=paramiko.SSHClient()
  6. >>> ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
  7. >>> ssh.connect(hostname='10.xx.xx.xx',username='xxxxx', password=u'xxx',key_filename=u'/home/xxxxx/.ssh/id_rsa',timeout=30.0, allow_agent=False, look_for_keys=False,)
  8. Traceback (most recent call last):
  9. File "<stdin>", line 1, in <module>
  10. File "/opt/ute/python/lib/python2.7/site-packages/paramiko/client.py", line 424, in connect
  11. passphrase,
  12. File "/opt/ute/python/lib/python2.7/site-packages/paramiko/client.py", line 714, in _auth
  13. raise saved_exception
  14. paramiko.ssh_exception.SSHException: No existing session
  15.  
  16. $ net user cyg_server
  17. User name cyg_server
  18. Full Name Privileged server
  19. Comment <cygwin home="/var/empty" shell="/bin/false"/>
  20. User's comment
  21. Country code 000 (System Default)
  22. Account active Yes
  23.  
  24. $ net user SYSTEM
  25. The user name could not be found.
  26.  
  27. More help is available by typing NET HELPMSG 2221.
  28.  
  29. *** Info: The sshd service has been installed under the 'cyg_server'
Add Comment
Please, Sign In to add comment