This basics should be in place...
On source : Generate ssh key, which u have done...
/home/user/.ssh ---> ssh-keygent -t rsa no need
enter passphrase....
On target : /home/userdir : chmod 755 for this, <userdir> owner
shld be targetuser as well
/home/userdir/.ssh : chmod 700 for this
su - targetuser...
cd .ssh
cat > authorized_keys
paste source id_rsa.pub content....
chmod 600 authorized_keys
Make sure target user is not locked or expired a/c.
if possible do manual ssh and see.
During first non-password ssh, it will prompt for updating known_hosts of
source. say "Yes".
make sure...nslookup forward/reverse for source/target server works as
expected....
Last resort...may be to reset Permittunnel parameter in sshd_config on
target server.....
gud luck
On Thu, Jan 7, 2010 at 5:42 AM, John Dunn <[email protected]> wrote:
> I am trying to enable passwordless ssh between a user on a Solaris10 box
> and a Solaris 8 box.
>
> I have generated the rsa key on the Solaris 10 box with an empty
> passphrase, copied to authorized_keys and copied to the Solaris8 box.
>
> The .ssh directory for the user on the Solaris8 box is as below.
>
> But when I try to ssh to the user from the Solaris10 box to the Solaris8
> box , I am still prompted for the password.
>
> -r-------- 1 producer producer 224 Jan 7 11:36 authorized_keys
>
> -rw------- 1 producer producer 887 Jan 7 11:36 id_rsa
>
> -rw-r--r-- 1 producer producer 224 Jan 7 11:36 id_rsa.pub
>
> Is this a permissions issue?
>
>
>
>
>
>
>
> John Dunn
>
> Product Consultant
> Sefas Innovation Limited.
>
> Tel: + 44 (0) 117 373 6122
>
> www.sefas.com <http://www.sefas.com/>
>
> P Please consider the environment before printing this email
>
> Sefas Innovation Limited, CityPoint, Temple Gate, Bristol BS1 6PL, UK.
>
> Tel: +44 (0) 117 373 6114 Fax: +44 (0) 117 373 6115.
>
> Registered No: 3769761 England.
>
> Registered Office: One New Street, Wells, Somerset, BA5 2LA, United
> Kingdom.
>
> VAT Registration No: GB 741 5377 32
>
> Unless stated to be non-confidential, this email and any attachments are
> private and confidential and are for the addressee only. Sefas monitors
> e-mails to ensure its systems operate effectively and to minimize the
> risk of viruses. Whilst Sefas has taken reasonable steps to scan this
> email, it does not accept liability for any virus that may be contained
> in it.
>
> Internet communications are not 100% secure and as such Sefas is not
> responsible for their abuse by 3rd parties, nor for any alteration or
> corruption in transmission.
>
>
> _______________________________________________
> Solaris-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/solaris-users
>
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users