Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2000 13:21:39 -0400 (EDT)
From:      Chris BeHanna <behanna@zbzoom.net>
To:        Vivek Khera <khera@kciLink.com>
Cc:        FreeBSD Stable List <freebsd-stable@freebsd.org>
Subject:   Re: nuking "unsafe" protocols (was Re: Upcoming rc.conf changes not loading certain currently loaded daemons)
Message-ID:  <Pine.BSF.4.21.0008241309120.9378-100000@topperwein.dyndns.org>
In-Reply-To: <14757.15655.515615.780499@onceler.kciLink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Aug 2000, Vivek Khera wrote:

> >>>>> "DM" == David McNett <nugget@slacker.com> writes:
> 
> DM> If someone insists on using those antiquated and unsafe protocols like
> DM> telnet and the r* services, we should at least make sure they're doing it
> DM> on purpose and not just leaving the defaults in place out of ignorance.
> 
> How do you make rdump/rmt work without the rcmd service?  I've got a
> LAN and do all backups of workstations to one server with a tape
> drive.  Without the rshd service, it won't work.

Execute something like the following on the host that has the tape
drive, where "remotehost" is the machine you want to back up:

    ssh user@remotehost "tar cvf - dir | gzip -c" | dd of=/dev/nsa0 bs=8k

Your remote command could be a script of some kind.  As long as it
writes the archive to stdout, you can pipe it through ssh and send it
wherever you like.

--
Chris BeHanna
Software Engineer (at yourfit.com)
behanna@zbzoom.net




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008241309120.9378-100000>