hi! ssh from box1 to box2 is still asking for password. but ssh from box2 to box1 is working fine. it didnt asked me for a password! I checked both boxes for the 2 lines you mentioned below and found that:
BOX1 has it all at /etc/ssh/sshd_config but BOX2 doesnt. so i edited sshd_config and added those lines and restarted sshd... and i got this. [BOX2]# /usr/sbin/sshd /etc/ssh/sshd_config: line 45: Bad configuration ption: AuthorizedKeysFile /etc/ssh/sshd_config: terminating, 1 bad configuration options where to now? thanks! jC --- Rowel Atienza <[EMAIL PROTECTED]> wrote: > > > Q1: Do you have this in your sshd_config? > > RSAAuthentication yes > PubkeyAuthentication yes > AuthorizedKeysFile .ssh/authorized_keys > > Q2: What's the output of "ssh -vvv RH_BOX2" ? This > will tell where it is > getting stuck. > > rowel > > > On Tue, 3 Sep 2002, juan carlo dela pena wrote: > > > i removed both ~/.ssh/* on both servers and > followed > > the steps below but still asking for password. > > > > ssh RH_BOX2 > > > > > > --- Rowel Atienza <[EMAIL PROTECTED]> wrote: > > > > > > RH_Box1: > > > > > > ssh-keygen -t rsa > > > cd ~/.ssh > > > cp id_rsa.pub authorized_keys > > > scp -r ~/.ssh RH_Box2:/home/your_username > > > > > > > > _ > Philippine Linux Users Group. Web site and archives > at http://plug.linux.org.ph > To leave: send "unsubscribe" in the body to > [EMAIL PROTECTED] > > To subscribe to the Linux Newbies' List: send > "subscribe" in the body to [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
