[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Enabling SFTP under Debian 4.0r0



ArcticFox wrote:
> Kent West wrote:
> > Again, what happens when you attempt to connect from/to the same
> > Linux box?
>
> Both the remote terminal and local terminal give the same error. 
> (Request for subsystem... blah blah blah)

Yes.  Please debug this on the local host first.  That will be much
simpler.

Try it again on the local host and show us the error output.

  ssh -v localhost

And then again with sftp.

  sftp -v localhost

Also show us the entire /etc/ssh/sshd_config file.

If this problem continues then eventually you should run it manually
with 'sudo /usr/sbin/sshd -d -p 24' (use an unassigned port number
temporarily) which will start up a daemon in debug mode on that port.
The connect to it with 'sftp -oPort=24' and see what debug messages
are emitted.

First set up a debug server:

  $ sudo /usr/sbin/sshd -d -p 24

And then in another terminal:

  $ sftp -oPort=24 -v localhost

Bob



Reply to: