From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 24 10:08:33 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 57C5316A422 for ; Fri, 24 Feb 2006 10:08:33 +0000 (GMT) (envelope-from freebsd@martinmoeller.net) Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90B3943D53 for ; Fri, 24 Feb 2006 10:08:31 +0000 (GMT) (envelope-from freebsd@martinmoeller.net) Received: (qmail 25094 invoked from network); 24 Feb 2006 10:08:29 -0000 Received: from unknown (HELO andvari.ath.cx) ([pbs]750710@[84.168.104.115]) (envelope-sender ) by smtprelay02.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 24 Feb 2006 10:08:29 -0000 Received: from andvari.ath.cx (localhost [127.0.0.1]) by andvari.ath.cx (8.13.4/8.13.4) with ESMTP id k1OA8NHD003680 for ; Fri, 24 Feb 2006 11:08:24 +0100 (CET) (envelope-from freebsd@martinmoeller.net) Received: (from mm@localhost) by andvari.ath.cx (8.13.4/8.13.4/Submit) id k1OA8JSo003679 for freebsd-hackers@freebsd.org; Fri, 24 Feb 2006 11:08:19 +0100 (CET) (envelope-from freebsd@martinmoeller.net) X-Authentication-Warning: andvari.ath.cx: mm set sender to freebsd@martinmoeller.net using -f Date: Fri, 24 Feb 2006 11:08:18 +0100 From: Martin =?iso-8859-1?Q?M=F6ller?= To: freebsd-hackers@freebsd.org Message-ID: <20060224100818.GA3659@andvari.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-URL: http://www.martinmoeller.net/ X-PGP-KeyID: 0x06746BEE X-PGP-Fingerprint: 9D2E 943F A669 50E4 A638 E42F 2699 2A76 0674 6BEE X-PGP-Note: Send empty mail with subject "key" to receive my public key! X-Location: Deutschland / Allemagne / Germany / Germania X-Operating-System: FreeBSD 6 (RELENG_6) X-Accept-Language: de en fr la X-Uptime: 3:24 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on andvari.ath.cx Subject: 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 10:08:33 -0000 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? Greetings, m. -- Martin Möller IM: 82221572 (ICQ) - martian@amessage.de (Jabber)