On Thu, 10 Feb 2005, Gregor Mosheh wrote:
I had a similar, perhaps related question. I'm making backups via tar to a SMB server, but I would rather use sftp/scp for it (the NAS supports both SMB and scp/sftp).
I don't have enough disk space to make the backup to a tarchive and then scp that tarchive. Is there a way to make scp/sftp read from a pipe or stdin, rather than specific filenames? The docs haven't mentioned it, but since the subject came up I thought it worth asking...
Hmm the other way round is easy enough, scp [EMAIL PROTECTED]:foo.tar.gz /dev/stdout | tar -ztf -
and either way with full ssh tar -zcf - * |ssh [EMAIL PROTECTED] "cat > foo.tar.gz" cat foo.tar.gz |ssh jhary:10.0.0.1 "tar -zxf -"
I hope some of this might help as i cant think of a way to do as you want.
Vince
--- Anthony Atkielski <[EMAIL PROTECTED]> wrote:
http://lists.freebsd.org/mailman/listinfo/freebsd-questionsDanie Du Toit writes:
Which packages are available to upload /downloadlarge dumpfiles in asecure fashion (e.g. using SSL). The customershould not need anysecure client installed on his PC.
Anything that is secure will require appropriate software at both ends of the transfer, and thus will require some sort of security-aware client on the customer's PC.
SFTP provides secure file transfers. I use SecureFX on my client machine, and the standard SFTP server on the FreeBSD server.
-- Anthony
_______________________________________________ freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
__________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"