SFTP From Linux to Windows

From: Hans Zaunere (hans@nyphp.org)
Date: 02/19/03

  • Next message: Pierre-Yves Bonnetain: "Directory restriction in SFTP"
    Date: Wed, 19 Feb 2003 08:25:19 -0800 (PST)
    From: Hans Zaunere <hans@nyphp.org>
    To: secureshell@securityfocus.com
    
    

    Hello,

    I'm doing development work on a remote Windows server, running SSH Secure
    Shell Server 3.x and I'm using SFTP to transfer files.

    I have two main clients that support SFTP that I want to use. The first is
    UltraEdit v10, which includes SFTP/SSH2 file-transfer functionality. The
    second is the sftp client that comes with OpenSSH 3.5p1 running on RedHat
    Linux 6.2.

    UltraEdit:
    I can connect to the remote server via SFTP with no problem with my initial
    directory set to /. However, when I try to change directories, for instance
    /wwwroot I get the error:
    "Server returned an error:4
    General Failure"

    sftp from Linux:
    Again, I can connect without a problem with initial directory /. However,
    when I cd /wwwroot I get the error:
    "Couldn't state remote file: No such file or directory"

    I've played a bit with trying different paths and slashes, but end up getting
    the same messages. I use both UltraEdit and sftp tools for connecting to a
    OpenSSH server on Linux and FreeBSD without any problems.

    Also, when I download the SSH Secure Shell Client for Windows, and try using
    the sftp2 command line tool, all works, ie) I login, and cd /wwwroot and
    continue without problem.

    Any pointers on this would be great, or if any other information is required,
    please don't hesitate to ask.

    Thank you,

    =====
    Hans Zaunere
    President, New York PHP
    http://nyphp.org
    hans@nyphp.org



    Relevant Pages

    • Re: ssh version 2 "subsystems"
      ... process on the remote server and interact with that process wihtout ... Typically the program invoked by a subsystem is a server designed to ... invoke the "sftp" subsystem by hand, ...
      (comp.security.ssh)
    • 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: Pasting via ssh causes data loss
      ... sftp of the file to the remote and ... I then opened an ssh session to a FreeBSD ... errors shown on the interface of the server? ...
      (freebsd-questions)