From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 30 13:40:20 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D6C916A41F for ; Fri, 30 Sep 2005 13:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA60D43D55 for ; Fri, 30 Sep 2005 13:40:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8UDeJjf045308 for ; Fri, 30 Sep 2005 13:40:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8UDeJo1045307; Fri, 30 Sep 2005 13:40:19 GMT (envelope-from gnats) Resent-Date: Fri, 30 Sep 2005 13:40:19 GMT Resent-Message-Id: <200509301340.j8UDeJo1045307@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, vittorio Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D591916A41F for ; Fri, 30 Sep 2005 13:36:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB68943D53 for ; Fri, 30 Sep 2005 13:36:39 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j8UDadDl091297 for ; Fri, 30 Sep 2005 13:36:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j8UDacV3091296; Fri, 30 Sep 2005 13:36:38 GMT (envelope-from nobody) Message-Id: <200509301336.j8UDacV3091296@www.freebsd.org> Date: Fri, 30 Sep 2005 13:36:38 GMT From: vittorio To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/86759: Unable to initialise sftp; could not connect X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 13:40:20 -0000 >Number: 86759 >Category: misc >Synopsis: Unable to initialise sftp; could not connect >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Sep 30 13:40:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: vittorio >Release: Releng 5_4 >Organization: >Environment: FreeBSD vicbsd.grtn 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Trying to connect with a client to an sshd server using sftpd the client fails connection invariably complaining: .... sftp-server: Command not found. Fatal: unable to initialise SFTP: could not connect ....... Instead ssh, scp work fine >How-To-Repeat: Reconnecting via sftpd >Fix: The last line of the boxed file /etc/ssh/sshd_config says: subsystem sftp /usr/lib/misc/sftp-server 1) change this line into subsystem sftp /usr/libexec/sftp-server (as a matter of fact the command sftp-server is in this latter directory) 2) stop sshd with killall sshd as root 3) restart sshd with sshd >Release-Note: >Audit-Trail: >Unformatted: