Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Dijkstra probably hates me. -- Linus Torvalds, in kernel/sched.c


devel / comp.unix.programmer / Re: looking for an sftp server for running in a container

SubjectAuthor
* looking for an sftp server for running in a containerWayne Harris
`* Re: looking for an sftp server for running in a containerWayne Harris
 `* Re: looking for an sftp server for running in a containerKaz Kylheku
  `- Re: looking for an sftp server for running in a containerWayne Harris

1
looking for an sftp server for running in a container

<86k0kucv5k.fsf@jevedi.xotimo>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16688&group=comp.unix.programmer#16688

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!aioe.org!O+egF2pf/b2T5ScsCS4ncA.user.46.165.242.75.POSTED!not-for-mail
From: wharris1@protonmail.com (Wayne Harris)
Newsgroups: comp.unix.programmer
Subject: looking for an sftp server for running in a container
Date: Mon, 09 Aug 2021 15:47:35 -0300
Organization: Aioe.org NNTP Server
Message-ID: <86k0kucv5k.fsf@jevedi.xotimo>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="581"; posting-host="O+egF2pf/b2T5ScsCS4ncA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:oMu97vbGQDTmNc7C7TWc8N+xo+k=
 by: Wayne Harris - Mon, 9 Aug 2021 18:47 UTC

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!

Re: looking for an sftp server for running in a container

<861r72coju.fsf@protonmail.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16689&group=comp.unix.programmer#16689

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!aioe.org!O+egF2pf/b2T5ScsCS4ncA.user.46.165.242.75.POSTED!not-for-mail
From: wharris1@protonmail.com (Wayne Harris)
Newsgroups: comp.unix.programmer
Subject: Re: looking for an sftp server for running in a container
Date: Mon, 09 Aug 2021 18:10:13 -0300
Organization: Aioe.org NNTP Server
Message-ID: <861r72coju.fsf@protonmail.com>
References: <86k0kucv5k.fsf@jevedi.xotimo>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="54075"; posting-host="O+egF2pf/b2T5ScsCS4ncA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:4fror0JNjEWxgv71ZvhfKQuZwso=
 by: Wayne Harris - Mon, 9 Aug 2021 21:10 UTC

Wayne Harris <wharris1@protonmail.com> writes:

> 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.
What I do need is SFTP, using the SSH protocol. My users are using
WinSCP with the SFTP protocol, so I must stick to that. Is there any
alternatives other than SSHd? Thank you.

Re: looking for an sftp server for running in a container

<20210809193529.295@kylheku.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16690&group=comp.unix.programmer#16690

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: 563-365-8930@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.programmer
Subject: Re: looking for an sftp server for running in a container
Date: Tue, 10 Aug 2021 02:39:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <20210809193529.295@kylheku.com>
References: <86k0kucv5k.fsf@jevedi.xotimo> <861r72coju.fsf@protonmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 10 Aug 2021 02:39:47 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3a9b19a7af19ab70840f0b7c4e43b263";
logging-data="12263"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ymG+zCzsfHEX9vR3uWrI80DbydcY8pP8="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:hL3ud3qq4nfQsMNtglbCAYe7Iuk=
 by: Kaz Kylheku - Tue, 10 Aug 2021 02:39 UTC

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".

:)

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal

Re: looking for an sftp server for running in a container

<86v9471kn4.fsf@protonmail.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16691&group=comp.unix.programmer#16691

  copy link   Newsgroups: comp.unix.programmer
Path: i2pn2.org!i2pn.org!aioe.org!6pxKGP6NrOMpONel/EKaCA.user.46.165.242.75.POSTED!not-for-mail
From: wharris1@protonmail.com (Wayne Harris)
Newsgroups: comp.unix.programmer
Subject: Re: looking for an sftp server for running in a container
Date: Sat, 14 Aug 2021 23:55:59 -0300
Organization: Aioe.org NNTP Server
Message-ID: <86v9471kn4.fsf@protonmail.com>
References: <86k0kucv5k.fsf@jevedi.xotimo> <861r72coju.fsf@protonmail.com>
<20210809193529.295@kylheku.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="61078"; posting-host="6pxKGP6NrOMpONel/EKaCA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
Cancel-Lock: sha1:lqzDJx6sIXOqiyv6JdAeJUN4+JM=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Wayne Harris - Sun, 15 Aug 2021 02:55 UTC

Kaz Kylheku <563-365-8930@kylheku.com> writes:

> 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".
>
> :)

Glad we our French figured out here. :-D

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor