home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
linuxmafia.com 2016
/
linuxmafia.com.tar
/
linuxmafia.com
/
pub
/
linux
/
security
/
ylonen-ssh
/
rsync-ssh-transport-only.patch
< prev
next >
Wrap
Text File
|
2000-06-02
|
568b
|
27 lines
The stock rsync utility defaults to rsh transport, such that one must
specify ssh transport via a command-line option. The source patch
below alters rsync.h to hard-code selection of ssh transport, instead.
*** rsync.h-original Fri Jun 2 17:05:54 2000
--- rsync.h Fri Jun 2 17:06:15 2000
***************
*** 70,78 ****
#include "config.h"
! #if HAVE_REMSH
! #define RSYNC_RSH "remsh"
! #else
! #define RSYNC_RSH "rsh"
! #endif
#include <sys/types.h>
--- 70,74 ----
#include "config.h"
! #define RSYNC_RSH "ssh"
#include <sys/types.h>