SSH first time problem - Raspberry Pi Forums
hi,
trying set pi headless device(without keyboard , monitor). have connected pi , ethernet port of laptop. when ssh pi@<ip address assigned pi> asks password , enter 'raspberry'(w/o quotes). asks me 3 times , gives me error "permission denied (publickey,keyboard-interactive)." have pasted here output of ssh -vvv pi@<ip address assigned pi>. please guide me wrong.
openssh_6.2p2, osslshim 0.9.8r 8 dec 2011
debug1: reading configuration data /users/khushalshah/.ssh/config
debug1: reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: applying options *
debug2: ssh_connect: needpriv 0
debug1: connecting 169.254.212.216 [169.254.212.216] port 22.
debug1: connection established.
debug3: incorrect rsa1 identifier
debug3: not load "/users/khushalshah/.ssh/id_rsa" rsa1 public key
debug1: identity file /users/khushalshah/.ssh/id_rsa type 1
debug1: identity file /users/khushalshah/.ssh/id_rsa-cert type -1
debug1: identity file /users/khushalshah/.ssh/id_dsa type -1
debug1: identity file /users/khushalshah/.ssh/id_dsa-cert type -1
debug1: enabling compatibility mode protocol 2.0
debug1: local version string ssh-2.0-openssh_6.2
debug1: remote protocol version 2.0, remote software version openssh_6.2
debug1: match: openssh_6.2 pat openssh*
debug2: fd 3 setting o_nonblock
debug3: load_hostkeys: loading entries host "169.254.212.216" file "/users/khushalshah/.ssh/known_hosts"
debug3: load_hostkeys: found key type rsa in file /users/khushalshah/.ssh/known_hosts:2
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa
debug1: ssh2_msg_kexinit sent
debug1: ssh2_msg_kexinit received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5-etm@openssh.com
debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
debug2: mac_setup: found hmac-md5-etm@openssh.com
debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
debug1: ssh2_msg_kex_dh_gex_request(1024<1024<8192) sent
debug1: expecting ssh2_msg_kex_dh_gex_group
debug2: dh_gen_key: priv key bits set: 118/256
debug2: bits set: 509/1024
debug1: ssh2_msg_kex_dh_gex_init sent
debug1: expecting ssh2_msg_kex_dh_gex_reply
debug1: server host key: rsa 0e:9e:6e:03:4f:93:ee:ff:c2:5e:99:0a:ff:0c:51:05
debug3: load_hostkeys: loading entries host "169.254.212.216" file "/users/khushalshah/.ssh/known_hosts"
debug3: load_hostkeys: found key type rsa in file /users/khushalshah/.ssh/known_hosts:2
debug3: load_hostkeys: loaded 1 keys
debug1: host '169.254.212.216' known , matches rsa host key.
debug1: found key in /users/khushalshah/.ssh/known_hosts:2
debug2: bits set: 500/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: ssh2_msg_newkeys sent
debug1: expecting ssh2_msg_newkeys
debug2: set_newkeys: mode 0
debug1: ssh2_msg_newkeys received
debug1: roaming not allowed server
debug1: ssh2_msg_service_request sent
debug2: service_accept: ssh-userauth
debug1: ssh2_msg_service_accept received
debug2: key: /users/khushalshah/.ssh/id_rsa (0x7fde92e00070),
debug2: key: /users/khushalshah/.ssh/id_dsa (0x0),
debug1: authentications can continue: publickey,keyboard-interactive
debug3: start over, passed different list publickey,keyboard-interactive
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: next authentication method: publickey
debug1: offering rsa public key: /users/khushalshah/.ssh/id_rsa
debug3: send_pubkey_test
debug2: sent publickey packet, wait reply
debug1: authentications can continue: publickey,keyboard-interactive
debug1: trying private key: /users/khushalshah/.ssh/id_dsa
debug3: no such identity: /users/khushalshah/.ssh/id_dsa: no such file or directory
debug2: did not send packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: sent keyboard-interactive packet, wait reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
password:
debug3: packet_send2: adding 32 (len 19 padlen 13 extra_pad 64)
debug1: authentications can continue: publickey,keyboard-interactive
debug2: userauth_kbdint
debug2: sent keyboard-interactive packet, wait reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
password:
debug3: packet_send2: adding 32 (len 19 padlen 13 extra_pad 64)
debug1: authentications can continue: publickey,keyboard-interactive
debug2: userauth_kbdint
debug2: sent keyboard-interactive packet, wait reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
password:
debug3: packet_send2: adding 32 (len 19 padlen 13 extra_pad 64)
debug1: authentications can continue: publickey,keyboard-interactive
debug2: did not send packet, disable method
debug1: no more authentication methods try.
permission denied (publickey,keyboard-interactive).
trying set pi headless device(without keyboard , monitor). have connected pi , ethernet port of laptop. when ssh pi@<ip address assigned pi> asks password , enter 'raspberry'(w/o quotes). asks me 3 times , gives me error "permission denied (publickey,keyboard-interactive)." have pasted here output of ssh -vvv pi@<ip address assigned pi>. please guide me wrong.
openssh_6.2p2, osslshim 0.9.8r 8 dec 2011
debug1: reading configuration data /users/khushalshah/.ssh/config
debug1: reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: applying options *
debug2: ssh_connect: needpriv 0
debug1: connecting 169.254.212.216 [169.254.212.216] port 22.
debug1: connection established.
debug3: incorrect rsa1 identifier
debug3: not load "/users/khushalshah/.ssh/id_rsa" rsa1 public key
debug1: identity file /users/khushalshah/.ssh/id_rsa type 1
debug1: identity file /users/khushalshah/.ssh/id_rsa-cert type -1
debug1: identity file /users/khushalshah/.ssh/id_dsa type -1
debug1: identity file /users/khushalshah/.ssh/id_dsa-cert type -1
debug1: enabling compatibility mode protocol 2.0
debug1: local version string ssh-2.0-openssh_6.2
debug1: remote protocol version 2.0, remote software version openssh_6.2
debug1: match: openssh_6.2 pat openssh*
debug2: fd 3 setting o_nonblock
debug3: load_hostkeys: loading entries host "169.254.212.216" file "/users/khushalshah/.ssh/known_hosts"
debug3: load_hostkeys: found key type rsa in file /users/khushalshah/.ssh/known_hosts:2
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa
debug1: ssh2_msg_kexinit sent
debug1: ssh2_msg_kexinit received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5-etm@openssh.com
debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
debug2: mac_setup: found hmac-md5-etm@openssh.com
debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
debug1: ssh2_msg_kex_dh_gex_request(1024<1024<8192) sent
debug1: expecting ssh2_msg_kex_dh_gex_group
debug2: dh_gen_key: priv key bits set: 118/256
debug2: bits set: 509/1024
debug1: ssh2_msg_kex_dh_gex_init sent
debug1: expecting ssh2_msg_kex_dh_gex_reply
debug1: server host key: rsa 0e:9e:6e:03:4f:93:ee:ff:c2:5e:99:0a:ff:0c:51:05
debug3: load_hostkeys: loading entries host "169.254.212.216" file "/users/khushalshah/.ssh/known_hosts"
debug3: load_hostkeys: found key type rsa in file /users/khushalshah/.ssh/known_hosts:2
debug3: load_hostkeys: loaded 1 keys
debug1: host '169.254.212.216' known , matches rsa host key.
debug1: found key in /users/khushalshah/.ssh/known_hosts:2
debug2: bits set: 500/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: ssh2_msg_newkeys sent
debug1: expecting ssh2_msg_newkeys
debug2: set_newkeys: mode 0
debug1: ssh2_msg_newkeys received
debug1: roaming not allowed server
debug1: ssh2_msg_service_request sent
debug2: service_accept: ssh-userauth
debug1: ssh2_msg_service_accept received
debug2: key: /users/khushalshah/.ssh/id_rsa (0x7fde92e00070),
debug2: key: /users/khushalshah/.ssh/id_dsa (0x0),
debug1: authentications can continue: publickey,keyboard-interactive
debug3: start over, passed different list publickey,keyboard-interactive
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: next authentication method: publickey
debug1: offering rsa public key: /users/khushalshah/.ssh/id_rsa
debug3: send_pubkey_test
debug2: sent publickey packet, wait reply
debug1: authentications can continue: publickey,keyboard-interactive
debug1: trying private key: /users/khushalshah/.ssh/id_dsa
debug3: no such identity: /users/khushalshah/.ssh/id_dsa: no such file or directory
debug2: did not send packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: sent keyboard-interactive packet, wait reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
password:
debug3: packet_send2: adding 32 (len 19 padlen 13 extra_pad 64)
debug1: authentications can continue: publickey,keyboard-interactive
debug2: userauth_kbdint
debug2: sent keyboard-interactive packet, wait reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
password:
debug3: packet_send2: adding 32 (len 19 padlen 13 extra_pad 64)
debug1: authentications can continue: publickey,keyboard-interactive
debug2: userauth_kbdint
debug2: sent keyboard-interactive packet, wait reply
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 1
password:
debug3: packet_send2: adding 32 (len 19 padlen 13 extra_pad 64)
debug1: authentications can continue: publickey,keyboard-interactive
debug2: did not send packet, disable method
debug1: no more authentication methods try.
permission denied (publickey,keyboard-interactive).
are sure have right ip? openssh_6.2 not expected version pi running raspbian. (most 6.0p1 debian-4.) 6.2 same version (mac?) client.khush wrote:debug1: connecting 169.254.212.216 [169.254.212.216] port 22.
debug1: remote protocol version 2.0, remote software version openssh_6.2
169.254 not normal dhcp address range, zeroconf/bonjour link-local range. again, unless using unusual distribution or have specially configured pi, not expect have such address.
raspberrypi
Comments
Post a Comment