Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH file copying from target host truncates the files into 204800 Bytes #37

Closed
adrianriobo opened this issue Apr 15, 2024 · 1 comment · Fixed by #38 or #40
Closed

SSH file copying from target host truncates the files into 204800 Bytes #37

adrianriobo opened this issue Apr 15, 2024 · 1 comment · Fixed by #38 or #40

Comments

@adrianriobo
Copy link
Collaborator

An issue created podman-desktop-e2e: podman-desktop/e2e#161.

All the files copied from target host into local host system are truncated into 204800B big files.

Upstream issue: PowerShell/Win32-OpenSSH#2098

@adrianriobo
Copy link
Collaborator Author

Unfortunately the -X option is not available yet on current ssh version:

+ scp -r -X buffer=32768 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ServerAliveInterval=30 -o ServerAliveCountMax=1200 -o BatchMode=yes -o ConnectTimeout=3 -i /data/id_rsa [email protected]:pd-e2e/results /data/
unknown option -- X
usage: scp [-346ABCOpqRrTv] [-c cipher] [-D sftp_server_path] [-F ssh_config]
           [-i identity_file] [-J destination] [-l limit]
           [-o ssh_option] [-P port] [-S program] source ... target

It seems to be introduced on 9.2 https://www.openssh.com/txt/release-9.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant