El día domingo, enero 14, 2024 a las 11:33:30 -0800, Gordon Messmer escribió:
On 2024-01-14 23:19, Matthias Apitz wrote:
> The env var is not published to the sshd and sftp-server processes:
That was my mistake... PermitUserEnvironment is disabled by default.
https://github.com/openssh/openssh-portable/blob/master/sshd_config#L94
I've modified the sshd config to:
srap57dxr1:~ # grep PermitUser /etc/ssh/sshd_config
#PermitUserEnvironment no
PermitUserEnvironment yes
and restarted the sshd; the temp. file remains below /tmp.
Are you sure that 'podman' runs the normal ssh-client and sends the
environment to the remote ssh-daemon? When the transfer is in progress
and the remote temp. file is growing, I only see:
$ pstree -p 429732
podman(429732)-+-{podman}(429733)
|-{podman}(429734)
|-{podman}(429735)
|-{podman}(429736)
|-{podman}(429737)
|-{podman}(429738)
|-{podman}(429739)
`-{podman}(430124)
matthias
--
Matthias Apitz, ✉ guru(a)unixarea.de,
http://www.unixarea.de/ +49-176-38902045
Public GnuPG key:
http://www.unixarea.de/key.pub
I am not at war with Russia. Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.