From owner-freebsd-questions Sun Nov 10 17:12:31 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA03886 for questions-outgoing; Sun, 10 Nov 1996 17:12:31 -0800 (PST) Received: from kryten.bogon.net (kryten.bogon.net [204.137.132.58]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA03881 for ; Sun, 10 Nov 1996 17:12:29 -0800 (PST) Received: (from wes@localhost) by kryten.bogon.net (8.7.6/8.7.3) id RAA04043 for questions@freebsd.org; Sun, 10 Nov 1996 17:12:23 -0800 (PST) From: Wes Santee Message-Id: <199611110112.RAA04043@kryten.bogon.net> Subject: Any way to use rdump w/ssh? To: questions@freebsd.org Date: Sun, 10 Nov 1996 17:12:23 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk '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 Homepageless - and proud ) ( PGP: email w/Subject: "Send PGP Key" Powered by FreeBSD )