From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 24 12:14:18 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 655EF16A420 for ; Fri, 24 Feb 2006 12:14:18 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED1A443D45 for ; Fri, 24 Feb 2006 12:14:17 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: by wproxy.gmail.com with SMTP id i31so265620wra for ; Fri, 24 Feb 2006 04:14:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uHMtIWFWjMDOJpw6I/XdGfQB04wTU4H6Ix9Db9JvAbylnCbmbI/fWEK9DxKpTvYuIgPuNFWCs0sl6rvoklrYHL7ClwqPIcaT8vyTGdFQaJv8luiXyTElLZ2knmPSEGgrQUwHt+LKspIqRgDdFJMraRSgBIsEXORVLuscQQShZug= Received: by 10.54.115.13 with SMTP id n13mr1374967wrc; Fri, 24 Feb 2006 04:13:54 -0800 (PST) Received: by 10.54.96.11 with HTTP; Fri, 24 Feb 2006 04:13:54 -0800 (PST) Message-ID: <319cceca0602240413t4767199rc7ecb2cb4b3b9790@mail.gmail.com> Date: Fri, 24 Feb 2006 12:13:54 +0000 From: Maslan To: "=?ISO-8859-1?Q?Martin_M=F6ller?=" In-Reply-To: <20060224100818.GA3659@andvari.ath.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060224100818.GA3659@andvari.ath.cx> Cc: freebsd-hackers@freebsd.org Subject: Re: Accessing SSH from a C program X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2006 12:14:18 -0000 > I try to copy some files securely from one machine to another. What is > the fastest and easiest way to accomplish this task? Can I access SSH > routines in C (is there a library) or is it better just to call "scp" > externally? You would better check this http://freshmeat.net/projects/libssh/ Assembler, -- I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) http://www.maslanlab.org http://libosdk.berlios.de