Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2006 09:39:02 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        Robert Fitzpatrick <lists@webtent.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ibsh shell session fails using scp/sftp
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 08 May 2006 09:28:54 -0400
Robert Fitzpatrick <lists@webtent.net> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060508093902.9ae6d0a7.wmoran>