I have been trying to get public key authentication to work with RSA
encryption without success. DSA encryption does work.

I am using the windows version 3.0.0 client. The remote version is
SSH-2.0-2.4.0 SSH Secure Shell (non-commercial)

The GUI client gives no information why the RSA public key authorization
fails. Using the command line tool with the -v option I get

debug: SshAppCommon/sshappcommon.c:154: Allocating global SshRegex
context.
debug: Connecting to REMOTEHOST, port 22...
debug: Ssh2/ssh2.c:1956: Entering event loop.
debug: Ssh2Client/sshclient.c:1329: Creating transport protocol.
debug: SshAuthMethodClient/sshauthmethodc.c:137: Added "publickey" to
usable met
hods.
debug: SshAuthMethodClient/sshauthmethodc.c:137: Added "password" to
usable meth
ods.
debug: Ssh2Client/sshclient.c:1357: Creating userauth protocol.
debug: client supports 2 auth methods: 'publickey,password'
debug: Ssh2Common/sshcommon.c:496: local ip = XXX.XXX.XX.XX, local port =
1224
debug: Ssh2Common/sshcommon.c:498: remote ip = XXX.XXX.XX.XX, remote port
=
22
debug: SshConnection/sshconn.c:1889: Wrapping...
debug: Remote version: SSH-2.0-2.4.0 SSH Secure Shell (non-commercial)
debug: Major: 2 Minor: 4 Revision: 0
debug: Ssh2Transport/trcommon.c:1286: Remote version has kex packet guess
determ
ination bug.
debug: Ssh2Transport/trcommon.c:1290: Remote version has hostbased looping
on fa
ilure bug.
debug: Ssh2Transport/trcommon.c:1294: Remote version can only handle one
key in
"hostbased" auth.
debug: Ssh2Transport/trcommon.c:1366: Remote version uses md5 instead of
sha-1 a
s hash algorithm with RSA keys.
debug: Ssh2Transport/trcommon.c:1717: lang s to c: `', lang c to s: `'
debug: Ssh2Transport/trcommon.c:1783: c_to_s: cipher 3des-cbc, mac
hmac-sha1, co
mpression none
debug: Ssh2Transport/trcommon.c:1786: s_to_c: cipher 3des-cbc, mac
hmac-sha1, co
mpression none
debug: Remote host key found from database.
debug: Ssh2Common/sshcommon.c:291: Received SSH_CROSS_STARTUP packet from
connec
tion protocol.
debug: Ssh2Common/sshcommon.c:341: Received SSH_CROSS_ALGORITHMS packet
from con
nection protocol.
debug: server offers auth methods 'publickey,password'.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1323: adding keyfile
"C:/PROGRAM FILE
S/SSH COMMUNICATIONS SECURITY/SSH SECURE SHELL/Users/me/Application
Data/
SSH/userkeys/mersa" to candidates
debug: Constructing and sending signature in publickey authentication.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:688:
ssh_client_auth_pubkey_send_sign
ature: reading C:/PROGRAM FILES/SSH COMMUNICATIONS SECURITY/SSH SECURE
SHELL/Use
rs/me/Application Data/SSH/userkeys/mersa
Passphrase for key "C:/PROGRAM FILES/SSH COMMUNICATIONS SECURITY/SSH
SECURE SHEL
L/Users/me/Application Data/SSH/userkeys/mersa" with comment
"":
debug: server offers auth methods 'publickey,password'.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1498: Server rejected the
signature.
debug: Ssh2AuthClient/sshauthc.c:316: Method 'publickey' disabled.
debug: server offers auth methods 'publickey,password'.
debug: Ssh2AuthPasswdClient/authc-passwd.c:95: Starting password query...


Any help here?

Thanks,
Mark Smith



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to