Advertisement
Guest User

Untitled

a guest
Sep 14th, 2015
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. linux_config = LinuxConfigurationSet(vm_name, 'xxxx', 'yyyyy', True)
  2.  
  3. SERVICE_CERT_THUMBPRINT = "1058XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  4. linux_config.ssh = SSH()
  5. pair = KeyPair(SERVICE_CERT_THUMBPRINT, '/home/xxxx/temp/mycert.pub')
  6. linux_config.ssh.key_pairs.key_pairs.append(pair)
  7.  
  8. sms.create_virtual_machine_deployment(service_name=hosted_service_name,
  9. deployment_name=hosted_service_name,
  10. deployment_slot='production',
  11. label=hosted_service_name,
  12. role_name=hosted_service_name,
  13. system_config=linux_config,
  14. os_virtual_hard_disk=os_hd,
  15. role_size='Small')
  16.  
  17. OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
  18. debug1: Reading configuration data /etc/ssh/ssh_config
  19. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  20. debug1: Connecting to dw9y1qzwp2.cloudapp.net [104.208.26.98] port 22.
  21. debug1: Connection established.
  22. debug1: identity file mycert.key type -1
  23. debug1: identity file mycert.key-cert type -1
  24. debug1: Enabling compatibility mode for protocol 2.0
  25. debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3
  26. debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6p1 Ubuntu-2
  27. debug1: match: OpenSSH_6.6p1 Ubuntu-2 pat OpenSSH_6.5*,OpenSSH_6.6* compat 0x14000000
  28. debug1: SSH2_MSG_KEXINIT sent
  29. debug1: SSH2_MSG_KEXINIT received
  30. debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
  31. debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
  32. debug1: sending SSH2_MSG_KEX_ECDH_INIT
  33. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  34. debug1: Server host key: ECDSA a2:80:7e:dc:b6:47:c5:d7:97:0a:7b:9c:75:c6:1f:85
  35. debug1: Host 'dw9y1qzwp2.cloudapp.net' is known and matches the ECDSA host key.
  36. debug1: Found key in /home/rohan/.ssh/known_hosts:22
  37. debug1: ssh_ecdsa_verify: signature correct
  38. debug1: SSH2_MSG_NEWKEYS sent
  39. debug1: expecting SSH2_MSG_NEWKEYS
  40. debug1: SSH2_MSG_NEWKEYS received
  41. debug1: Roaming not allowed by server
  42. debug1: SSH2_MSG_SERVICE_REQUEST sent
  43. debug1: SSH2_MSG_SERVICE_ACCEPT received
  44. debug1: Authentications that can continue: publickey
  45. debug1: Next authentication method: publickey
  46. debug1: Offering RSA public key: xxxx@gmail.com
  47. debug1: Authentications that can continue: publickey
  48. debug1: Trying private key: mycert.key
  49. debug1: key_parse_private2: missing begin marker
  50. debug1: read PEM private key done: type RSA
  51. debug1: Authentications that can continue: publickey
  52. debug1: No more authentication methods to try.
  53. Permission denied (publickey).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement