Results 1 to 3 of 3

Thread: SFTP Client error

  1. #1
    rbeard NNTP User

    Default SFTP Client error

    I'm trying to connect my SUSE 10.3 desktop Linux machine to our z/OS mainframe via SSH using port 2222. I have modified the SSH_CONFIG file to use port 2222 when connecting and I get connected, but as soon as I enter my password I get the following error:
    Request for subsystem 'sftp' failed on channel 0
    Couldn't read packet: Connection reset by peer

    Any ideas what the problem is?

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: SFTP Client error

    Sounds like the server doesn't support sftp or is misconfigured.

  3. #3
    Join Date
    Oct 2008
    Location
    Birmingham. AL
    Posts
    858

    Default Re: SFTP Client error

    This is a common problem/mistake. (Do a Google search and you'll see. )

    In /etc/ssh/sshd_config, depending on the SSH server that you're running, you'll need to add a line such as

    Code:
    # override default of no subsystems
    Subsystem       sftp    /usr/lib/ssh/sftp-server
    ... after, of course, making sure that "sftp-server" is, in fact, in /usr/lib/ssh. If that doesn't work, post back with the SSH server that you're running (probably OpenSSH, but it doesn't hurt to be sure).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •