On the account you are trying to ssh from, do this:

ssh-keygen -t rsa

When it prompts for a password, just hit enter.
That creates two files in your .ssh directory: id_rsa and id_rsa.pub.  Copy 
(securely) the id_rsa.pub to the remote machine you are trying to log into.  
In the account's .ssh directory, add id_rsa.pub to the end of the 
authorized_keys file. (cat id_rsa.pub >> .ssh/authorized_keys) I dont know if 
ssh requres that file have permissions 600, but its not a bad idea to do that 
anyway.    Now, the next time you ssh to that account from the other box, it 
should not prompt for a password (scp will do the same). 

Jay

On Thursday 03 April 2003 12:35 am, Ming wrote:
> Ok been battling with this off and on but can some one point me to some
> good docs that show me how to get ssh setup so it uses publickeys?
> Basically I am trying to use scp -qb in a script to get a particular
> file from the machine, but I keep getting permission denied. Sorry don't
> have a scp -v to include right now, I think I just broke ssh on the
> machine and its 12:30am....good thing no one else uses it or else I
> would have to go fix it now. Any thoughts or pointers would be nice.
> Thanks.
>
>
> Jason
>
>
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> http://www.mn-linux.org tclug-list at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-list

-- 
Jay Kline
http://www.slushpupie.com

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list