From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 24 18:33:39 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 0B0B016A423 for ; Fri, 24 Feb 2006 18:33:39 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: from pproxy.gmail.com (pproxy.gmail.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2911D43D66 for ; Fri, 24 Feb 2006 18:33:35 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: by pproxy.gmail.com with SMTP id t32so444488pyc for ; Fri, 24 Feb 2006 10:33:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sttH87QaaN9FtNXEiVULZJFz0k2atdIs44EU9wPHJC9Tp0oP8y+rGgj+jV8jN3EGtY4Q14lOmiTd940RmDFeo29UwZCLrSKF5Da2PqMdnnCVVaE7Lbd+Dmv/hVPtQF0yARv0NG3I3Jv8U9vCmnBzC57+jWmDGSMgDK201lZprc8= Received: by 10.35.99.5 with SMTP id b5mr2471589pym; Fri, 24 Feb 2006 02:18:55 -0800 (PST) Received: by 10.35.38.9 with HTTP; Fri, 24 Feb 2006 02:18:55 -0800 (PST) Message-ID: <79722fad0602240218u3f4ba99bo57d5bdb35c9a1659@mail.gmail.com> Date: Fri, 24 Feb 2006 12:18:55 +0200 From: "Vlad GALU" To: freebsd-hackers@freebsd.org 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> 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 18:33:39 -0000 On 2/24/06, Martin M=F6ller wrote: > Hi all, > > 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? http://0xbadc0de.be/wiki/doku.php?id=3Dlibssh:libssh Or, if you prefer scripting, try this: http://net-ssh.rubyforge.org/. It's also in ports (security/rubygem-net-ssh). > Greetings, > m. > > -- > Martin M=F6ller > IM: 82221572 (ICQ) - martian@amessage.de (Jabber) > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.