On Thu, Aug 13, 2015 at 06:52:18PM -0700, you (Alex Wilson) sent the following to [smartos-discuss] : > Hi all, > > As promised in the last OpenSSH thread, I have a platform image of SmartOS / > SDC for > testing with SunSSH replaced entirely by a patched OpenSSH 7.0p1. > > Download links: > > https://us-east.manta.joyent.com/arekinath/public/platform-20150812T180743Z.iso > https://us-east.manta.joyent.com/arekinath/public/platform-20150812T180743Z.tgz > https://us-east.manta.joyent.com/arekinath/public/platform-20150812T180743Z.usb.bz2 > > You can have a look at the patches being applied at: > https://github.com/arekinath/openssh-portable/commits/illumos-7.0p1 > > Please let me (or the list) know about your experiences if you give this a > try!
First of all, thanks for the hard work in releasing a SmartOS image with OpenSSH 7 instead of SunSSH. Since using this build ssh key authentication no longer works though. I connect from my yosemite macbook using a dsa key and my ssh setup on the mac side hasn't changed. scarlett% ssh -vvv root@tron OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /Users/marcovl/.ssh/config debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to tron [192.168.3.2] port 22. debug1: Connection established. debug1: identity file /Users/marcovl/.ssh/id_rsa type -1 debug1: identity file /Users/marcovl/.ssh/id_rsa-cert type -1 debug3: Incorrect RSA1 identifier debug3: Could not load "/Users/marcovl/.ssh/id_dsa" as a RSA1 public key debug1: identity file /Users/marcovl/.ssh/id_dsa type 2 debug1: identity file /Users/marcovl/.ssh/id_dsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.2 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.0 debug1: match: OpenSSH_7.0 pat OpenSSH* debug2: fd 3 setting O_NONBLOCK debug3: load_hostkeys: loading entries for host "tron" from file "/Users/marcovl/.ssh/known_hosts" debug3: load_hostkeys: found key type RSA in file /Users/marcovl/.ssh/known_hosts:1 debug3: load_hostkeys: loaded 1 keys debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],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: [email protected],[email protected],ssh-rsa,[email protected],[email protected],ssh-dss debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected] debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,[email protected],[email protected],aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected] debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-md5,hmac-sha1,[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-md5,hmac-sha1,[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,[email protected],zlib debug2: kex_parse_kexinit: none,[email protected],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: [email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 debug2: kex_parse_kexinit: ssh-rsa debug2: kex_parse_kexinit: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected] debug2: kex_parse_kexinit: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected] debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: kex_parse_kexinit: none,[email protected] debug2: kex_parse_kexinit: none,[email protected] 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 [email protected] debug1: kex: server->client aes128-ctr [email protected] none debug2: mac_setup: found [email protected] debug1: kex: client->server aes128-ctr [email protected] none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<2048<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug2: dh_gen_key: priv key bits set: 160/320 debug2: bits set: 2056/4096 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA a6:34:31:31:3c:65:31:3c:c6:f0:01:0d:a5:22:b7:62 debug3: load_hostkeys: loading entries for host "tron" from file "/Users/marcovl/.ssh/known_hosts" debug3: load_hostkeys: found key type RSA in file /Users/marcovl/.ssh/known_hosts:1 debug3: load_hostkeys: loaded 1 keys debug3: load_hostkeys: loading entries for host "192.168.3.2" from file "/Users/marcovl/.ssh/known_hosts" debug3: load_hostkeys: found key type RSA in file /Users/marcovl/.ssh/known_hosts:1 debug3: load_hostkeys: loaded 1 keys debug1: Host 'tron' is known and matches the RSA host key. debug1: Found key in /Users/marcovl/.ssh/known_hosts:1 debug2: bits set: 2028/4096 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 by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug2: key: /Users/marcovl/.ssh/id_dsa (0x7fef536003e0), debug2: key: /var/root/.ssh/id_dsa (0x7fef53415900), debug2: key: /Users/marcovl/.ssh/id_rsa (0x0), debug1: Authentications that can continue: publickey,password,keyboard-interactive debug3: start over, passed a different list publickey,password,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 DSA public key: /Users/marcovl/.ssh/id_dsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Offering DSA public key: /var/root/.ssh/id_dsa debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Trying private key: /Users/marcovl/.ssh/id_rsa debug3: no such identity: /Users/marcovl/.ssh/id_rsa: No such file or directory debug2: we did not send a 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: we sent a keyboard-interactive packet, wait for reply debug2: input_userauth_info_req debug2: input_userauth_info_req: num_prompts 1 Password: SmartOS side: # uname -v joyent_20150812T180743Z /var/log/auth.log shows: 2015-08-18T06:27:38+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] rexec line 34: Deprecated option LookupClientHostnames 2015-08-18T06:27:38+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] rexec line 35: Deprecated option VerifyReverseMapping 2015-08-18T06:27:38+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] rexec line 107: Deprecated option MaxAuthTriesLog 2015-08-18T06:27:38+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] rexec line 135: Deprecated option RhostsAuthentication 2015-08-18T06:27:38+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] rexec line 151: Unsupported option GSSAPIAuthentication 2015-08-18T06:27:38+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] rexec line 152: Unsupported option GSSAPIKeyExchange 2015-08-18T06:27:38+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] WARNING: /var/ssh/moduli does not exist, using fixed modulus 2015-08-18T06:27:39+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] reprocess config line 151: Unsupported option GSSAPIAuthentication 2015-08-18T06:27:39+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] reprocess config line 152: Unsupported option GSSAPIKeyExchange 2015-08-18T06:27:39+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] userauth_pubkey: key type ssh-dss not in PubkeyAcceptedKeyTypes [preauth] 2015-08-18T06:27:39+00:00 00-1b-21-98-51-c1 sshd[67896]: [ID 800047 auth.info] userauth_pubkey: key type ssh-dss not in PubkeyAcceptedKeyTypes [preauth] I'm guessing the last 2 lines is where it really goes wrong ? -- Marco van Lienen -- Unix SysAdmin -- http://lordsith.net/ https://keybase.io/scarcry , GnuPG id: 8580E6CB "The Tuck Pendleton machine...zero defects."
pgpOePap5lTRp.pgp
Description: PGP signature
------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
