Problem with SSH2 Auhentication using Public/Private Keys
Govin Varadarajan
govin_1999@yahoo.com
Mon, 23 Dec 2002 17:31:52 -0800 (PST)
Hi,
While I am able to sucessfully authenticate via a
F-Secure Client using Private/Public Keys, I am unable
to do so with mindterm SSH2 implementation.
Below is the output to the log file while I try to
connect to the remote server running F-Secure SSH
Server using the same Private/Public Keys. What is
wrong ? Any help would be appreciated.
Thanks,
Govin Varadarajan
=============================================
** SSH2Transport : 'peer's version is 'SSH-1.99-2.0.12
F-SECURE SSH''
** SSH2Transport : 'enabling draft incompatible
SERVICE_ACCEPT'
** SSH2Transport : 'enabling draft incompatible
publickey method'
** SSH2Transport : 'enabling draft incompatible
CHANNEL_OPEN_FAILURE'
** SSH2Transport : 'enabling draft incompatible
signature format'
** SSH2Transport : 'enabling rfc incompatible hmac key
length'
** SSH2Transport : 'enabling draft incompatible
session id for signature'
** SSH2Transport : 'disabling key re-exchange, not
implemented in peer'
** SSH2Transport : 'peer kex algorithms:
diffie-hellman-group1-sha1'
** SSH2Transport : 'peer host key algorithms: ssh-dss'
** SSH2Transport : 'peer enc. alg. cli2srv:
3des-cbc,cast128-cbc,blowfish-cbc,twofish-cbc,arcfour,none'
** SSH2Transport : 'peer enc. alg. srv2cli:
3des-cbc,cast128-cbc,blowfish-cbc,twofish-cbc,arcfour,none'
** SSH2Transport : 'peer mac alg. cli2srv:
hmac-md5,md5-8,none'
** SSH2Transport : 'peer mac alg. srv2cli:
hmac-md5,md5-8,none'
** SSH2Transport : 'peer comp. alg. cli2srv:
none,zlib'
** SSH2Transport : 'peer comp. alg. srv2cli:
none,zlib'
** SSH2Transport : 'our kex algorithms:
diffie-hellman-group1-sha1'
** SSH2Transport : 'our host key algorithms:
ssh-dss,ssh-rsa'
** SSH2Transport : 'our enc. alg. cli2srv:
aes128-cbc,blowfish-cbc,aes256-cbc,3des-cbc,arcfour'
** SSH2Transport : 'our enc. alg. srv2cli:
aes128-cbc,blowfish-cbc,aes256-cbc,3des-cbc,arcfour'
** SSH2Transport : 'our mac alg. cli2srv:
hmac-md5,hmac-sha1'
** SSH2Transport : 'our mac alg. srv2cli:
hmac-md5,hmac-sha1'
** SSH2Transport : 'our comp. alg. cli2srv: none'
** SSH2Transport : 'our comp. alg. srv2cli: none'
** SSH2Transport : 'KEX algorithm chosen:
diffie-hellman-group1-sha1'
** SSH2Transport : 'same KEX guessed? true'
** SSH2Transport : 'first KEX follows? false'
** SSH2Transport : 'server's signature verified'
** SSH2Transport : 'new transmitter context
(blowfish-cbc,hmac-md5,none)'
** SSH2Transport : 'new receiver context
(blowfish-cbc,hmac-md5,none)'
** SSH2UserAuth : 'server accepted ssh-connection
(draft incompatible)'
** SSH2UserAuth : 'failure continuation:
publickey,password (partial: false)'
** SSH2UserAuth : 'our remaining methods: publickey'
** SSH2UserAuth : 'trying method: publickey'
** SSH2UserAuth : 'failure continuation:
publickey,password (partial: false)'
Permission denied
** SSH2UserAuth : 'our remaining methods: <none>'
** SSH2UserAuth : 'no more authentication methods,
giving up'
com.mindbright.ssh2.SSH2FatalException: Permission
denied
at
com.mindbright.ssh2.SSH2SimpleClient.init(SSH2SimpleClient.java:152)
at
com.mindbright.ssh2.SSH2SimpleClient.init(SSH2SimpleClient.java:135)
at
com.mindbright.ssh2.SSH2SimpleClient.<init>(SSH2SimpleClient.java:94)
at examples.SSHAccess.isConnect(SSHAccess.java:145)
at examples.SSHAccess.isConnect(SSHAccess.java:123)
at examples.SSHAccess.main(SSHAccess.java:256)
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com