[X-Unix] rsync/ssh help

Russell McGaha RussellMcGaha at direcway.com
Thu Mar 23 13:52:44 PST 2006


Marlry;
	THANKS, for the reply.  Tried your suggestion, but it didn't work.   
The remote still asks me for my password.  Don't know if it makes a  
difference; but it's a 10.4.5 Mac going to a 10.3.9 Mac.
	Any further suggestion; anyone??

Russell

P.S.  Just so happens, while I'm here at work the two machines are  
side by side.  My work machine has an external IP that I'm trying to  
connect thru.

On Mar 23, 2006, at 3:17 PM, mgraham wrote:

> 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
>
> _______________________________________________
> 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