[SOLVED] SFTP can not be disabled

  • I was playing around with the SFTP plugin and when I was done I deleted the user in the access list, disabled it in the Settings tab and saved.


    However there is still an SFTP server running on port 222. Even rebooting OMV will not turn it off. How and where do I turn this off?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

    Einmal editiert, zuletzt von gderf ()

  • I am an idiot. I was testing like this:


    sftp -p222 user@localhost


    and I got a prompt for my password. So I assumed an sftp server was running on port 222.


    Wrong. What happened is that -p222 is not proper but instead of throwing an error it dropped the option entirely and connected on the standard port 22 where there is an sftp server running.


    The correct form is (note uppercase P)


    sftp -P222 user@localhost


    This fails with a connection refused message, as it should.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!