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

From: Michael Favor (no-spam_at_example.com)
Date: 03/26/04


Date: Fri, 26 Mar 2004 19:02:53 GMT


"Carlo Luciano Bianco" <clbianco@tiscalinet.it> wrote in message
news:Xns94B870319C35clbiancotiscalinetit@127.0.0.1...
> "Michael Favor" <no-spam@example.com> wrote in
> news:mfq8c.42369$ys7.1710@newssvr25.news.prodigy.com:
>
> > 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."
> >
> > The authentication part seems to be working fine, it's only the SFTP
> > part that doesn't seem to be working. Any suggestions for how to
> > troubleshoot this would be greatly appreciated.
>
> Such a problem may happen if the server sends "extra" messages after the
> login, e.g. warning you that the password is expiring in 2 weeks. If you
> connect to that server with an interactive shell, what do you see after
> the login? Are there differences with what you see on a server where SFTP
> works?

This was an excellent suggestion. I had been using the very nice WinSCP
client, but when I connected to the remote host by using the "SSH" command
from the CYGWIN command prompt, I was able to see right away what the
problem was. Those "extra" messages provided just the information I
needed.

Thanks for the hint, Carlo!

regards,
michael.



Relevant Pages

  • Re: SPAM sudden increase
    ... > Dude was on a tech call with f-secure and the tech asked, "So, ... dude is trying to FTP to their server using WSFTP. ... but I think he is talking about sftp protocol - FTP via ...
    (alt.2600)
  • using java with sftp
    ... JCraft JSch package to SFTP files. ... //First Create a JSch session ... System.err.println("Unable to connect to FTP server. ...
    (comp.lang.java.programmer)
  • Re: using java with sftp
    ... JCraft JSch package to SFTP files. ... //First Create a JSch session ... System.err.println("Unable to connect to FTP server. ...
    (comp.lang.java.programmer)
  • Re: sftp password authentication question
    ... > I have a W2k server machine (equippend with SSH Secure Shell) which ... > NetworkSimplicity SSH server). ... > can be apparently easily accomplished with normal FTP. ... > this to work with SFTP or SFTP2 ??? ...
    (comp.security.ssh)
  • RE: sftp between UNIX box and NT Server using SFTP Root.
    ... sftp between UNIX box and NT Server using SFTP Root. ... Legg Mason therefore recommends that you do not send confidential information to us via electronic mail, including social security numbers, account numbers, and personal identification numbers. ...
    (SSH)