BackupPC-users

Re: [BackupPC-users] Little thoughts to share - RSYNC MAC SSH

2008-12-29 23:45:02
Subject: Re: [BackupPC-users] Little thoughts to share - RSYNC MAC SSH
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: "Pedro M. S. Oliveira" <pmsoliveira AT gmail DOT com>
Date: Mon, 29 Dec 2008 20:42:05 -0800
Pedro writes:

> After searching for a while and doing some digging i found that i had
> files that would cause ssh to exit, usually you can exit ssh with "~."
> and in fact i had files with that name and content.
> what i did on backuppc config page was:
> on the main configuration editor, xfer:
> RsyncClientCmd
> $sshPath  -q -x -l root $host $rsyncPath $argList+
> changed to
> $sshPath -e none -q -x -l root $host $rsyncPath $argList+
> RsyncClientRestoreCmd
> $sshPath -q -x -l root $host $rsyncPath $argList+
> changed to
> $sshPath -e none -q -x -l root $host $rsyncPath $argList+
> 
> this will avoid escape caracters.
> 
> what do you guys think on putting this by default on the next release?

I looked at the source for ssh (specifically OpenSSH 5.1p1) and the
ssh escape character is disabled when ssh is not talking to a tty.
So adding "-e none" should make no difference.

However, I can't explain how it made a difference for you.

Craig

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [BackupPC-users] Little thoughts to share - RSYNC MAC SSH, Craig Barratt <=