From owner-freebsd-questions@FreeBSD.ORG Mon May 8 13:39:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87B2316A452 for ; Mon, 8 May 2006 13:39:06 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0148C43D48 for ; Mon, 8 May 2006 13:39:05 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (AUTH: PLAIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Mon, 08 May 2006 09:39:03 -0400 id 00056407.445F49F7.0000EF98 Date: Mon, 8 May 2006 09:39:02 -0400 From: Bill Moran To: Robert Fitzpatrick Message-Id: <20060508093902.9ae6d0a7.wmoran@collaborativefusion.com> In-Reply-To: <1147094934.24620.60.camel@columbus.webtent.org> References: <1147094934.24620.60.camel@columbus.webtent.org> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.17; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ibsh shell session fails using scp/sftp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 13:39:06 -0000 On Mon, 08 May 2006 09:28:54 -0400 Robert Fitzpatrick wrote: > Trying to use WinSCP to connect using the ibsh shell. The logs in the > WinSCP program indicate 'Connection failed. Server sent command exit > status 0', but I cannot find anything in the FreeBSD logs. I am hoping > to find where my FreeBSD 6.0 box is trying to execute a command so I can > add it to the approved list of commands to run by the user. > The /var/log/auth.log only states... > > May 8 09:21:28 files sshd[22864]: Accepted keyboard-interactive/pam for webtent from 192.168.1.12 port 1130 ssh2 > May 8 09:21:29 files sshd[22867]: subsystem request for sftp > > While the /var/log/messages and /var/log/debug.log have nothing as a > result of the attempt to login. Is there anywhere else this may be > logging on why the session could not start? Run sshd with -d. Be sure to read the manpage on what this does first, as it may be an unpleasant surprise if you're trying to work on a machine that you don't have local access to. -- Bill Moran Collaborative Fusion Inc.