ibsh shell session fails using scp/sftp

Bill Moran wmoran at collaborativefusion.com
Mon May 8 13:39:06 UTC 2006


On Mon, 08 May 2006 09:28:54 -0400
Robert Fitzpatrick <lists at 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.


More information about the freebsd-questions mailing list