UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 5th, 2004, 12:07 PM
srinivasds srinivasds is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 srinivasds User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ssh public key auth fails

I am a starter in unix and networking issues. I need to connect to a remote server using SFTP using keys without prompting for password. I generated keys and copied to ssh dir. when i try to connect the remote server using ssh or sftp i am getting this message. I am unable to figure out whats the problem. the debug log shows this: connection is being closed by remote host.

debug1: Reading configuration data packages/OpenSSH/config/options.properties
debug1: Applying options for *
debug1: Connecting to xxxxx [xxxxxxxx] port xx.
debug1: Connection established.
debug1: identity file openssh/intserv.rsa type 1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.7.1p2-pwexp26
debug1: match: OpenSSH_3.7.1p2-pwexp26 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.7.1p2-pwexp26
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 zlib
debug1: kex: client->server aes128-cbc hmac-md5 zlib
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'plslc022' is known and matches the RSA host key.
debug1: Found key in /home/webmthhr/.ssh/known_hosts:4
debug1: ssh_rsa_verify: signature correct
debug1: Enabling compression at level 6.
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: openssh/intserv.rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: No more authentication methods to try.
Permission denied (publickey,password,keyboard-interactive).
debug1: Calling cleanup 0x40015a3a(0x0)
debug1: compress outgoing: raw data 265, compressed 225, factor 0.85
debug1: compress incoming: raw data 107, compressed 70, factor 0.65
Connection closed

It would be real gr8 if someone could help me know whats the real problem is.
thank in advance

Reply With Quote
  #2  
Old November 6th, 2004, 11:19 AM
satyap satyap is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 210 satyap User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 49 sec
Reputation Power: 4
Did you put the public key in the remote's authorized_keys2 file?

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > ssh public key auth fails


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway