Thanks for all the help folks. I guess it also helps to have RSAAuthentication yes in sshd_config uncommented. Sometimes I am just an idiot that overlooks the painfully obvious.... Jason On Thu, 3 Apr 2003 07:41:47 -0600, Jay Kline <list at slushpupie.com> wrote : > 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 > > > _______________________________________________ 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