I'm not 100% sure of this but scp doesn't create temporary files during file transfer.
I have no idea what podman does under the hood when you run your command but it reminds me how rsync works.

It's not the best way to move an image to another server but why don't you podman save, scp the image then podman load on the remote server ?

JB

-


On Thu, Jan 11, 2024 at 2:06 PM Matthias Apitz <guru@unixarea.de> wrote:
El día jueves, enero 11, 2024 a las 01:18:33 +0100, Jean-Baptiste Ciccolella escribió:

> Is /tmp big enough to receive the image ?
>
> JB

I was already digging into this: /tmp is not big enough and I was
looking how to change the location to where sftp-server puts the data.

        matthias

--
Matthias Apitz, ✉ guru@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.