Date: Tue, 12 Nov 1996 19:34:55 -0700 (MST) From: Marc Slemko <marcs@znep.com> To: Wes Santee <wes@bogon.net> Cc: questions@freebsd.org Subject: Re: Any way to use rdump w/ssh? Message-ID: <Pine.BSF.3.95.961112193036.15416C-100000@alive.ampr.ab.ca> In-Reply-To: <199611110112.RAA04043@kryten.bogon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Something along the lines of: ssh remotehost /sbin/dump 0Bfu 4000000 - / > /dev/nrst0 run from the machine with the tape drive will work (even better if you pipe it through something like team to get some more buffering), but you loose automatic end of tape checking (it should still be able to figure out eventually that the end of tape has been reached, but will probably be too late to allow you to continue like dump normally does) and you may have to play with blocksizes (eg. mt blocksize 512) to get it to write correctly. You will also probably want to use something like '-c arcfour' to use arcfour encryption, which is a good bit less CPU intensive than the default. On Sun, 10 Nov 1996, Wes Santee wrote: > 'Lo all. I don't run any of the r* (rshd, rlogind, rexecd) servers on > my machines. I do run sshd, however, and I'd like to use rdump to > backup a filesystem to another server. Does anyone know of a way to > get the rcmd() call in rdump to use ssh as its connection mechanism so > authentication happens, without having to hack up libc? > > I fear the only way out of this is to hack rdump and replace the call > to rcmd() with code that executes ssh(1) instead to both authenticate > and issue the rmt command. However, I figured I'd see if a more > elegant kludge exists first. > > Cheers, > -- > ( -Wes Santee <wes@bogon.net> Homepageless - and proud ) > ( PGP: email w/Subject: "Send PGP Key" Powered by FreeBSD ) >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.961112193036.15416C-100000>