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

From: Carlo Luciano Bianco (clbianco_at_tiscalinet.it)
Date: 03/26/04


Date: 25 Mar 2004 23:48:38 GMT


"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?

-- 
| Carlo Luciano Bianco | ICQ UIN: 109517158                              |
|______________________| Home page: <http://web.tiscali.it/clbianco/>    |
|GPG DSA/ElG 1024/4096:|_________________________________________________|
|KeyID:0x5324A0DA - Fingerprint:8B00C61034120506111B143DEDBF71B45324A0DA |


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)