Results 1 to 6 of 6

Thread: Help with sftp login

  1. #1
    Will Honea NNTP User

    Default Help with sftp login

    Running 12.3, I'm able to connect with the home machine using ssh - no
    problems there. When I attempt to establish an sftp session from the same
    remote location, I get the logon prompt then the connection is closed as
    soon as I enter the password so it's not

    This is an update installation that has been working for years. sftp from
    the home box to the remote has no issue. Only difference I see between the
    two setups is that looking under the yast security center overview, the
    balking box has ipv4 forwarding x-ed out while the functional end has it
    simply checked - but darned if I can see where to change that!

    What am I missing here? This is too simple to be causing this much head
    scratching!

    --
    Will Honea
    whonea@yahoo.com

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,631
    Blog Entries
    3

    Default Re: Help with sftp login

    Quote Originally Posted by Will Honea View Post
    Running 12.3, I'm able to connect with the home machine using ssh - no
    problems there. When I attempt to establish an sftp session from the same
    remote location, I get the logon prompt then the connection is closed as
    soon as I enter the password so it's not
    I just tried
    Code:
    sftp localhost
    and that is working fine.

    I suggest you check the "sftp" entry in "/etc/ssh/sshd_config". For me, it is:
    Code:
    Subsystem   sftp    /usr/lib/ssh/sftp-server
    I seem to recall that, at one time, the path used "lib64" rather than "lib". I think the change was at opensuse 12.1, but I'm not sure of that. If you have been doing upgrade installs, rather than clean installs, it is possible that you might have the old out-of-date value.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3
    Will Honea NNTP User

    Default Re: Help with sftp login

    nrickert wrote:

    > I seem to recall that, at one time, the path used "lib64" rather than
    > "lib". I think the change was at opensuse 12.1, but I'm not sure of
    > that. If you have been doing upgrade installs, rather than clean
    > installs, it is possible that you might have the old out-of-date value.
    >


    Good catch. The bum machine is indeed x86-64 while the remote is i586 so
    I'll look that over (gotta finish some stuff for the wife "right now!")

    --
    Will Honea
    whonea@yahoo.com

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Help with sftp login

    Just my 2c

    Are both the machines openSUSE?

    I ask because: I was testing Mint/Ubuntu install at the server side and using the same ssh setup as openSUSE.
    ssh login and fish from dolphin worked
    But sftp from nautilus or dolphin didn't

    When the server is running openSUSE I can ssh, fish and sftp

    All my machines are _64
    And installs are always clean.
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5
    Will Honea NNTP User

    Default Re: Help with sftp login

    caf4926 wrote:

    >
    > Just my 2c
    >
    > Are both the machines openSUSE?
    >
    > I ask because: I was testing Mint/Ubuntu install at the server side and
    > using the same ssh setup as openSUSE.
    > ssh login and fish from dolphin worked
    > But sftp from nautilus or dolphin didn't
    >
    > When the server is running openSUSE I can ssh, fish and sftp
    >
    > All my machines are _64
    > And installs are always clean.
    >


    I haven't taken the time mess with other distros lately, so all are
    openSUSE.

    I just did a quick check with a vbox install of 13.1x86-64 m4 and sftp
    to/from that worked as expected but sftp with the 12.3 instance in question
    as the destination fails just as it does with the remote sites.

    This has become a challenge now - ain't no !@#$% computer smarter than I am!

    --
    Will Honea
    whonea@yahoo.com

  6. #6
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,296
    Blog Entries
    2

    Default Re: Help with sftp login

    Check whether IP_FORWARD = 1
    Typically not written directly to the proc file but declared in /etc/sysctl.conf

    TSU

Posting Permissions

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