[X-Unix] rsync/ssh help
mgraham
mgraham at aquaflo.com
Thu Mar 23 13:17:02 PST 2006
On your machine, if you have not already done so, open Terminal and
type:
ssh-keygen -t rsa
Hit "Return" to accept the defaults at each line
cd ~/.ssh
cat id_rsa.pub (to see your ID)
scp id_rsa.pub <username>@<remotemachinename>:myid (call it whatever
you want)
This assumes that remotemachinename is in your /etc/hosts file
SSH to the remote machine and cd to the user folder. Type
ls -l
Check to see that the myid file is there.
Check to see if there is a .ssh directory; if not, mkdir .ssh
Copy the public key:
cat myid >> .ssh/authorized_keys
That's it; you can log in without a password.
Marley Graham
Aqua-Flo Supply
On Mar 23, 2006, at 12:42 PM, Russell McGaha wrote:
> Folks;
> I need a little help; I think I knew this at one time, but can't
> remember. How can I set up ssh so that the remote machine dose NOT
> prompt me for my password??
> I'm trying to set up a script to use rsync between two remote
> Mac.s, to sync a couple of folders.
>
> Russell
> _______________________________________________
> X-Unix mailing list
> X-Unix at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x-unix
>
> Listmom is trying to clean out his closets! Vintage Mac and random
> stuff:
> http://search.ebay.com/_W0QQsassZmacguy1984
More information about the X-Unix
mailing list