From owner-freebsd-net@FreeBSD.ORG Fri Jun 30 08:20:51 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D604216A412; Fri, 30 Jun 2006 08:20:51 +0000 (UTC) (envelope-from nospam@mgedv.net) Received: from mail.mgedv.net (mail.mgedv.net [81.223.168.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6840144291; Fri, 30 Jun 2006 08:20:47 +0000 (GMT) (envelope-from nospam@mgedv.net) Received: from metis (sslint.my.loop [1.1.1.1]) by mail.my.loop (mgedv) with ESMTP id 14571457A2; Fri, 30 Jun 2006 10:20:45 +0200 (CEST) From: "no@spam@mgedv.net" To: "'Mikhail Teterin'" , Date: Fri, 30 Jun 2006 10:20:47 +0200 Message-ID: <004501c69c1e$1787de50$01010101@avalon.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <200606291907.19006.mi+mx@aldan.algebra.com> Thread-Index: Acab0X8hg0OMjXoiT9yJ5i//yMFBtQASoiiQ Cc: questions@freebsd.org Subject: RE: a secure equivalent to rcmd() and rexec() ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 08:20:51 -0000 > I need to send data to a command line on another machine, but > popen-ing an ssh > session seems like a rather inferior method, because there is > no way to > (portably) access the command's stderr... > not sure if this is the answer you want, but: what if you tunnel the rcmd/rexec commands through an encrypted tunnel? you could use pf and stunnel to redirect traffic, maybe that helps. it's obviously not a development solution but an administrative, maybe working one ;-)