Skip to content

Instantly share code, notes, and snippets.

@haynescw
Created March 21, 2017 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haynescw/37b7e3b9bc341dbdad48c48145ef37af to your computer and use it in GitHub Desktop.
Save haynescw/37b7e3b9bc341dbdad48c48145ef37af to your computer and use it in GitHub Desktop.
DEBUG ssh: == Net-SSH connection debug-level log END ==
INFO ssh: SSH not up: #<Vagrant::Errors::SSHAuthenticationFailed: SSH authentication failed! This is typically caused by the public/private
keypair for the SSH user not being properly set on the guest VM. Please
verify that the guest VM is setup with the proper public key, and that
the private key path for Vagrant is setup properly as well.>
DEBUG ssh: Checking whether SSH is ready...
INFO machine: Calling action: read_ssh_info on provider AWS (i-094f2e8cec8294eb7)
INFO interface: Machine: action ["read_ssh_info", "start", {:target=>:ctgawsvm}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 1 hooks defined.
INFO runner: Running action: machine_action_read_ssh_info #<Vagrant::Action::Builder:0x000001025e14f8>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000010165c550>
INFO warden: Calling IN action: #<VagrantPlugins::AWS::Action::ConnectAWS:0x0000010165c528>
INFO connect_aws: Connecting to AWS...
INFO warden: Calling IN action: #<VagrantPlugins::AWS::Action::ReadSSHInfo:0x000001025c82c8>
INFO warden: Calling OUT action: #<VagrantPlugins::AWS::Action::ReadSSHInfo:0x000001025c82c8>
INFO warden: Calling OUT action: #<VagrantPlugins::AWS::Action::ConnectAWS:0x0000010165c528>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x0000010165c550>
INFO interface: Machine: action ["read_ssh_info", "end", {:target=>:ctgawsvm}]
DEBUG ssh: Checking key permissions: /Users/37332/.ssh/drupal-vm.pem
INFO ssh: Attempting SSH connection...
INFO ssh: Attempting to connect to SSH...
INFO ssh: - Host: ec2-52-90-221-224.compute-1.amazonaws.com
INFO ssh: - Port: 22
INFO ssh: - Username: drupal-vm
INFO ssh: - Password? false
INFO ssh: - Key Path: ["/Users/37332/.ssh/drupal-vm.pem"]
DEBUG ssh: - connect_opts: {:auth_methods=>["none", "hostbased", "publickey"], :config=>false, :forward_agent=>true, :send_env=>false, :keys_only=>true, :paranoid=>false, :password=>nil, :port=>22, :timeout=>15, :user_known_hosts_file=>[], :verbose=>:debug, :logger=>#<Logger:0x00000100b6dd60 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x00000100b6dd38 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x00000100b6dce8 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x00000100b6ddb0>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x00000100b6dcc0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x00000100b6dc70>>>>, :keys=>["/Users/37332/.ssh/drupal-vm.pem"]}
DEBUG ssh: == Net-SSH connection debug-level log START ==
DEBUG ssh: D, [2017-03-21T11:43:45.331896 #39349] DEBUG -- net.ssh.transport.session[805b6104]: establishing connection to ec2-52-90-221-224.compute-1.amazonaws.com:22
D, [2017-03-21T11:43:45.377166 #39349] DEBUG -- net.ssh.transport.session[805b6104]: connection established
I, [2017-03-21T11:43:45.377291 #39349] INFO -- net.ssh.transport.server_version[805b360c]: negotiating protocol version
D, [2017-03-21T11:43:45.425759 #39349] DEBUG -- net.ssh.transport.server_version[805b360c]: remote is `SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.3'
D, [2017-03-21T11:43:45.425853 #39349] DEBUG -- net.ssh.transport.server_version[805b360c]: local is `SSH-2.0-Ruby/Net::SSH_3.0.2 universal.x86_64-darwin13'
D, [2017-03-21T11:43:45.465221 #39349] DEBUG -- socket[805b3d14]: read 1632 bytes
D, [2017-03-21T11:43:45.465405 #39349] DEBUG -- socket[805b3d14]: received packet nr 0 type 20 len 1628
I, [2017-03-21T11:43:45.465522 #39349] INFO -- net.ssh.transport.algorithms[805b270c]: got KEXINIT from server
I, [2017-03-21T11:43:45.465757 #39349] INFO -- net.ssh.transport.algorithms[805b270c]: sending KEXINIT
D, [2017-03-21T11:43:45.466095 #39349] DEBUG -- socket[805b3d14]: queueing packet nr 0 type 20 len 1684
D, [2017-03-21T11:43:45.466205 #39349] DEBUG -- socket[805b3d14]: sent 1688 bytes
I, [2017-03-21T11:43:45.466254 #39349] INFO -- net.ssh.transport.algorithms[805b270c]: negotiating algorithms
D, [2017-03-21T11:43:45.466365 #39349] DEBUG -- net.ssh.transport.algorithms[805b270c]: negotiated:
* kex: diffie-hellman-group-exchange-sha1
* host_key: ssh-rsa
* encryption_server: aes128-cbc
* encryption_client: aes128-cbc
* hmac_client: hmac-sha1
* hmac_server: hmac-sha1
* compression_client: none
* compression_server: none
* language_client:
* language_server:
D, [2017-03-21T11:43:45.466388 #39349] DEBUG -- net.ssh.transport.algorithms[805b270c]: exchanging keys
D, [2017-03-21T11:43:45.466590 #39349] DEBUG -- socket[805b3d14]: queueing packet nr 1 type 34 len 20
D, [2017-03-21T11:43:45.466633 #39349] DEBUG -- socket[805b3d14]: sent 24 bytes
D, [2017-03-21T11:43:45.549139 #39349] DEBUG -- socket[805b3d14]: read 152 bytes
D, [2017-03-21T11:43:45.549291 #39349] DEBUG -- socket[805b3d14]: received packet nr 1 type 31 len 148
D, [2017-03-21T11:43:45.551123 #39349] DEBUG -- socket[805b3d14]: queueing packet nr 2 type 32 len 140
D, [2017-03-21T11:43:45.551204 #39349] DEBUG -- socket[805b3d14]: sent 144 bytes
D, [2017-03-21T11:43:45.590337 #39349] DEBUG -- socket[805b3d14]: read 720 bytes
D, [2017-03-21T11:43:45.590535 #39349] DEBUG -- socket[805b3d14]: received packet nr 2 type 33 len 700
D, [2017-03-21T11:43:45.591929 #39349] DEBUG -- socket[805b3d14]: queueing packet nr 3 type 21 len 20
D, [2017-03-21T11:43:45.592047 #39349] DEBUG -- socket[805b3d14]: sent 24 bytes
D, [2017-03-21T11:43:45.592171 #39349] DEBUG -- socket[805b3d14]: received packet nr 3 type 21 len 12
D, [2017-03-21T11:43:45.592726 #39349] DEBUG -- net.ssh.authentication.session[811f5640]: beginning authentication of `drupal-vm'
D, [2017-03-21T11:43:45.592910 #39349] DEBUG -- socket[805b3d14]: queueing packet nr 4 type 5 len 28
D, [2017-03-21T11:43:45.592986 #39349] DEBUG -- socket[805b3d14]: sent 52 bytes
D, [2017-03-21T11:43:45.696660 #39349] DEBUG -- socket[805b3d14]: read 52 bytes
D, [2017-03-21T11:43:45.696835 #39349] DEBUG -- socket[805b3d14]: received packet nr 4 type 6 len 28
D, [2017-03-21T11:43:45.696958 #39349] DEBUG -- net.ssh.authentication.session[811f5640]: trying none
D, [2017-03-21T11:43:45.697138 #39349] DEBUG -- socket[805b3d14]: queueing packet nr 5 type 50 len 60
D, [2017-03-21T11:43:45.697209 #39349] DEBUG -- socket[805b3d14]: sent 84 bytes
D, [2017-03-21T11:43:45.732170 #39349] DEBUG -- socket[805b3d14]: read 52 bytes
D, [2017-03-21T11:43:45.732391 #39349] DEBUG -- socket[805b3d14]: received packet nr 5 type 51 len 28
D, [2017-03-21T11:43:45.732518 #39349] DEBUG -- net.ssh.authentication.session[811f5640]: allowed methods: publickey
D, [2017-03-21T11:43:45.732616 #39349] DEBUG -- net.ssh.authentication.methods.none[811f472c]: none failed
D, [2017-03-21T11:43:45.732709 #39349] DEBUG -- net.ssh.authentication.session[811f5640]: trying publickey
D, [2017-03-21T11:43:45.733102 #39349] DEBUG -- net.ssh.authentication.agent[811f116c]: connecting to ssh-agent
D, [2017-03-21T11:43:45.733266 #39349] DEBUG -- net.ssh.authentication.agent[811f116c]: sending agent request 1 len 57
D, [2017-03-21T11:43:45.733394 #39349] DEBUG -- net.ssh.authentication.agent[811f116c]: received agent packet 2 len 5
D, [2017-03-21T11:43:45.733458 #39349] DEBUG -- net.ssh.authentication.agent[811f116c]: sending agent request 11 len 0
D, [2017-03-21T11:43:45.733557 #39349] DEBUG -- net.ssh.authentication.agent[811f116c]: received agent packet 12 len 5
D, [2017-03-21T11:43:45.733803 #39349] DEBUG -- net.ssh.authentication.methods.publickey[811f1428]: trying publickey (30:04:79:29:8b:46:1d:fa:90:ab:35:ac:87:10:28:28)
D, [2017-03-21T11:43:45.733976 #39349] DEBUG -- socket[805b3d14]: queueing packet nr 6 type 50 len 348
D, [2017-03-21T11:43:45.734044 #39349] DEBUG -- socket[805b3d14]: sent 372 bytes
D, [2017-03-21T11:43:45.766146 #39349] DEBUG -- socket[805b3d14]: read 52 bytes
D, [2017-03-21T11:43:45.766370 #39349] DEBUG -- socket[805b3d14]: received packet nr 6 type 51 len 28
D, [2017-03-21T11:43:45.766495 #39349] DEBUG -- net.ssh.authentication.session[811f5640]: allowed methods: publickey
E, [2017-03-21T11:43:45.766567 #39349] ERROR -- net.ssh.authentication.session[811f5640]: all authorization methods failed (tried none, publickey)
DEBUG ssh: == Net-SSH connection debug-level log END ==
INFO ssh: SSH not up: #<Vagrant::Errors::SSHAuthenticationFailed: SSH authentication failed! This is typically caused by the public/private
keypair for the SSH user not being properly set on the guest VM. Please
verify that the guest VM is setup with the proper public key, and that
the private key path for Vagrant is setup properly as well.>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment