Open SSH public key setup not working on windows 2012
Ashish Shah
ag_shah at hotmail.com
Thu Jan 26 06:51:11 AEDT 2017
Hi,
Any help on this is much appreciated.
thanks,
Ash
________________________________
From: Ashish Shah <ag_shah at hotmail.com>
Sent: Monday, January 23, 2017 11:53 AM
To: openssh-unix-dev at mindrot.org
Subject: Open SSH public key setup not working on windows 2012
Hi,
I downloaded setupssh-7.3p1-2.exe for Windows x64.
I created private public keys and set it up accordingly.
After entering the passphrase, I see authentication succeeded message but then
the connection to the remote host gets closed immediately.
Some of the Client output:
************************
...
Enter passphrase for key '/home/user2/.ssh/id_rsa':
debug1: Authentication succeeded (publickey).
Authenticated to machine2 ([10.39.69.139]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions at openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: channel 0: free: client-session, nchannels 1
Connection to machine2 closed by remote host.
Connection to machine2 closed.
Transferred: sent 2336, received 2880 bytes, in 0.0 seconds
Bytes per second: sent 1167945.4, received 1439932.7
debug1: Exit status -1
***************************
Some of the output from remote host OpenSSHD.log. It says "seteuid 1084961: Operation not permitted" as seen below at the end.
*********************
...
debug1: kex: algorithm: curve25519-sha256 at libssh.org
debug1: kex: host key algorithm: ecdsa-sha2-nistp521
debug1: kex: client->server cipher: chacha20-poly1305 at openssh.com MAC: <implicit> compression: none
debug1: kex: server->client cipher: chacha20-poly1305 at openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_INIT
debug2: set_newkeys: mode 1
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug1: userauth-request for user agshah service ssh-connection method none
debug1: attempt 0 failures 0
debug2: parse_server_config: config reprocess config len 561
debug2: input_userauth_request: setting up authctxt for agshah
debug1: userauth_send_banner: sent
debug2: input_userauth_request: try method none
Failed none for user2 from 10.109.136.24 port 28409 ssh2
debug1: userauth-request for user user2 service ssh-connection method publickey
debug1: attempt 1 failures 0
debug2: input_userauth_request: try method publickey
debug1: temporarily_use_uid: 1084961/1049089 (e=18/18)
seteuid 1084961: Operation not permitted
debug1: do_cleanup
*********************
thanks,
Ash
More information about the openssh-unix-dev
mailing list