Re: Error: "Cannot initialize SFTP protocol. Is the host running a SFTP server?"

From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 03/26/04


Date: Fri, 26 Mar 2004 01:19:18 +0000 (UTC)

In article <mfq8c.42369$ys7.1710@newssvr25.news.prodigy.com>,
Michael Favor <no-spam@example.com> wrote:
>I installed Openssh on a couple of Windows 2000 servers with cygwin, using
>instructions I found on this web page:
[...]
>That worked fine on some servers, but on one I get an error when I try to
>connect to it that says:
>
> "Cannot initialize SFTP protocol. Is the host running a SFTP server?"
>and
> "Connection has been unexpectedly closed. Server sent command exit
>status 1."

Sound like the sftp subsystem settings in sshd_config are wrong. Look for
Subsystem sftp /path/to/sftp-server in sshd_config, make sure the path is
right and sftp-server exists and is executable.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


Relevant Pages

  • Re: PAM & RSA (SuSE Linux+OpenSSH)
    ... It is necessary the use of audit program on the servers. ... If you just want to audit access then you can use the PAM account or ... Good judgement comes with experience. ...
    (SSH)
  • Re: Update password using ssh over remote server permission denied
    ... > I'm trying to change a user password on another servers via ssh, ... ssh -t SERVERB "passwd USER1" ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: using ssh2 with compression
    ... > servers where installed in the same way. ... recompiling zlib then recompiling openssh with it. ... When you say "five servers, all installed the same way", did you compile ... Good judgement comes with experience. ...
    (SSH)
  • RE: MX Record Problem - Plasease help
    ... A record for mail.yourcompany.com with their DNS servers. ... backup MX hosting service from someone like TZO.com and set their MX as the ... Once you make these changes give the internet a little time to catch up for ... instructions i got on this newsgroup). ...
    (microsoft.public.windows.server.sbs)
  • Re: 403 Error on NODE 2 of Network Load Balanced Server Farm
    ... I followed the instructions under ... Configuring Two Virtual Servers to Host the Same Content ... >> application pool name and configuration. ...
    (microsoft.public.sharepoint.windowsservices)