Here are the lines which are differing

For server B (not accessible without password):
<..snip..>
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/user/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/user/.ssh/identity
debug1: Trying private key: /home/user/.ssh/id_dsa
debug1: Next authentication method: password
[email protected]'s password:

For server A (accessible without password):
<..snip..>
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_IN
Linux ubuntu-server 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC
2010 x86_64 GNU/Linux
Ubuntu 10.04.3 LTS

Welcome to the Ubuntu Server!
 * Documentation:  http://www.ubuntu.com/server/doc

  System information as of Mon Nov 28 21:39:49 IST 2011

  System load: 0.0               Memory usage: 39%   Processes:       82
  Usage of /:  7.8% of 37.76GB   Swap usage:   0%    Users logged in: 0

  Graph this data and manage this system at https://landscape.canonical.com/

10 packages can be updated.
8 updates are security updates.

Last login: Mon Nov 28 21:06:01 2011 from 192.168.1.55
user@ubuntu-server:~$


And regarding the file permissions, those are same for both servers.

Thanks,
Sagar Belure



On Mon, Nov 28, 2011 at 3:17 PM, sankarshan <[email protected]>wrote:

> On Mon, Nov 28, 2011 at 3:15 PM, Sagar Belure <[email protected]>
> wrote:
>
> > I'm facing a weird problem with one of the Ubuntu servers.
> > I can login to one of the Ubuntu server(A) without password by coping
> > '.ssh/id_rsa.pub' from my system(client) into '.ssh/authorized_keys2' of
> > server.
> >
> > This thing is not working in Ubuntu server(B), for which everything is
> same
> > except the hostname.
> >
> > What could be the possible problem?
>
> Try ssh with verbosity switched on perhaps to see where the problem lies.
>
>
> --
> sankarshan mukhopadhyay
> <http://sankarshan.randomink.org/blog>
>

-- 
You received this message because you are subscribed to the Google Groups "ILUG 
Bengaluru" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/ilug-bengaluru?hl=en.

Reply via email to