[Gllug] rsync over ssh
Adrian McMenamin
adrian at newgolddream.dyndns.info
Fri Dec 18 11:01:56 UTC 2009
On Fri, December 18, 2009 10:54 am, Matthew King wrote:
> "Adrian McMenamin" <adrian at newgolddream.dyndns.info> writes:
>
>> The remote server uses a non-standard ssh port
>>
>> so I try rsync -ave ssh -p [odd port number]
>> root at remoteserver:/var/www/somedirectory/ ./backup
>
> Do you you run
>
> rsync -ave ssh -p PORT root at remoteserver:/var/www/somedirectory/ ./backup
>
The above (NB I do have the trailing / too - just forgot to copy it
before) ie
rsync -ave ssh -p PORT root at remoteserver:/var/www/somedirectory/ ./backup/
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list