I tried to do this with panubo/sshd available in Docker Hub. To make
that SSHd run on port 22, I had to resort to specifying my own
sshd_config. When I did that, the software didn't work. I documented
that at
https://github.com/panubo/docker-sshd/issues/73
Then I tried other SSHd images and they worked well with my sshd_config,
but it seems these other images did not have support for PAM ---
``usePAM yes'' made sshd say it was not a supported option. I don't
know if that was the reason I couldn't use RSA keys to log in. Password authentication worked just fine when I tried, so everything worked,
except for using private keys to log in, which is what I needed.
Now I'm thinking I should be just running a very simple server. All I
want is SFTP (not shell accesss), so any simple server that supports rsa
keys and provides SFTP is good enough for me. If there's always a
Docker image out there, even better.
Any recommendations? Thank you!
By the way, I just noticed that SFTP is not the same thing as FTPS.
On 2021-08-09, Wayne Harris <wharris1@protonmail.com> wrote:
By the way, I just noticed that SFTP is not the same thing as FTPS.
Moreover FTPS cannot plausibly be the French SFTP, because that
would likely be something like PTSF: "protocole pour le transfert sécurisé de fichiers".
:)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 52:49:37 |
Calls: | 6,650 |
Calls today: | 2 |
Files: | 12,200 |
Messages: | 5,330,484 |