similar to: scp bug: escaped characters in files prevent copying

Displaying 20 results from an estimated 10000 matches similar to: "scp bug: escaped characters in files prevent copying"

2019 Nov 03
2
scp, sftp, and special characters in filenames
I have not been able to get scp(1) to download a file with a newline in its name. I know that scp(1) requires that remote filenames be escaped for the shell, but that leads to protocol errors. I am also unable to get sftp(1) to handle such files. It fails with an ?unterminated quoted argument? error, no matter how I try to quote the newline. Furthermore, the SFTP CLI is not well-suited to
2006 Jul 03
2
[Bug 1205] scp back-slash escaping of spaces ignored after username@hostname: tag
http://bugzilla.mindrot.org/show_bug.cgi?id=1205 Summary: scp back-slash escaping of spaces ignored after username at hostname: tag Product: Portable OpenSSH Version: 4.3p2 Platform: ix86 OS/Version: Linux Status: NEW Keywords: low-hanging-fruit Severity: normal Priority: P3
2004 Nov 30
1
[Bug 957] Shell special characters not escaped by scp
http://bugzilla.mindrot.org/show_bug.cgi?id=957 Summary: Shell special characters not escaped by scp Product: Portable OpenSSH Version: 3.9p1 Platform: All OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: scp AssignedTo: openssh-bugs at mindrot.org ReportedBy: greenrd
2019 Nov 04
2
scp, sftp, and special characters in filenames
On Mon, 4 Nov 2019, David Newall wrote: > On 4/11/19 3:29 am, Demi M. Obenour wrote: > > I have not been able to get scp(1) to download a file with a newline > > in its name. I know that scp(1) requires that remote filenames be > > escaped for the shell, but that leads to protocol errors. > > I see something much worse: > > $ sudo sh > # echo
2019 Nov 04
4
scp, sftp, and special characters in filenames
On Mon, 4 Nov 2019 at 14:07, David Newall <openssh at davidnewall.com> wrote: > [about scp] That's just awful, and I should have > thought it was not at all necessary. Am I missing something? > If you're saying that the scp protocol is an unfixable mess then the openssh team has been agreeing[0] with you for at least a decade and a half. We fix what we can, but some
2004 Jun 25
7
[Bug 863] SCP misses copying a file on error
http://bugzilla.mindrot.org/show_bug.cgi?id=863 ------- Additional Comments From dtucker at zip.com.au 2004-06-25 18:49 ------- I can't reproduce it here on Linux (with bash). Maybe the problem is related to shell expansion? What shell are you using at both ends? Try echoing the command locally and via ssh and see what it expands to: echo scp -p hosta:/tmp/[a-z]** . ssh hosta
2012 Oct 22
2
SCP support for -o StrictHostKeyChecking=no broken
Hi. With SCP, it seems like the option precedence is ignored. Although this seems to work well with SSH. $ scp -oStrictHostKeyChecking=no hs21-dev04:/tmp/1 hs21-dev02:/tmp/2 The authenticity of host 'hs21-dev04 (192.168.12.11)' can't be established. RSA key fingerprint is ec:0f:eb:b2:fa:6f:50:ef:89:64:01:5e:c9:cc:54:20. Are you sure you want to continue connecting (yes/no)? $
2004 May 27
1
scp host1:file1 host2:file2 -> Permission denied??????
Hello, I have a stupid problem with scp and I can't find where it comes from. I am running 3 machines here with RedHat 7.3, RedHat 8 and RedHat 9. The 3 of them have openssh-3.7.1p2 (built from the SRPMS found on the openssh web site). I have though a problem to run a command of the type 'scp host1:file1 host2:file2' (my ssh being correctly setup): [ted at papeete ~]$ scp
2013 Dec 29
8
[Bug 2192] New: scp output alignment bug with UTF-8/multibyte sequences
https://bugzilla.mindrot.org/show_bug.cgi?id=2192 Bug ID: 2192 Summary: scp output alignment bug with UTF-8/multibyte sequences Product: Portable OpenSSH Version: 6.4p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: scp
2015 May 22
5
[Bug 2404] New: scp skips file/directory on permissions error
https://bugzilla.mindrot.org/show_bug.cgi?id=2404 Bug ID: 2404 Summary: scp skips file/directory on permissions error Product: Portable OpenSSH Version: 6.7p1 Hardware: All OS: All Status: NEW Severity: major Priority: P5 Component: scp Assignee: unassigned-bugs at mindrot.org
2006 Jul 05
5
[Bug 1207] unsuccessful_login_count gets incremented by scp
http://bugzilla.mindrot.org/show_bug.cgi?id=1207 Summary: unsuccessful_login_count gets incremented by scp Product: Portable OpenSSH Version: 4.3p1 Platform: PPC OS/Version: AIX Status: NEW Severity: major Priority: P1 Component: scp AssignedTo: bitbucket at mindrot.org ReportedBy:
2015 Mar 01
6
scp -rp behavior(SOLVED)
On 02/26/15 19:45, Valeri Galtsev wrote: > > On Thu, February 26, 2015 6:34 pm, Mark LaPierre wrote: >> Hey all, >> >> I'm trying to copy configuration files from my old CentOS 6.6 32 bit >> machine to my new CentOS 6.6 64 bit machine. >> >> On my 32 bit machine: >> >> [mlapier at mushroom ~]$ ifconfig >> eth0 Link
2003 Sep 05
1
doing scp from java when file has spaces in it
Hi, I am new to scp. I am trying to scp a file from local (m/c) to remote through a java application running in Tomcat. When I try to upload a file with no spaces in it, it works. But if spaces are present (file name is : "Lots of spaces text .txt") it is not working. Some of the things I tried are mentioned below and they failed. scp [...options]
2017 Mar 08
2
Logging with ForceCommand and SCP
Hello List, I'am using the ForceCommand in my sshd configuration to log all the user actions on my device. ForceCommand /usr/bin/log-session.sh The Log Session Script itself is working fine for logging. But now I want also use SCP to copy files and this won't work together with the ForceCommand above. The copied file is created but its zero byte on the target. scp file.tar.gz
2012 Mar 06
1
Invalid user name: function okname() in scp.c
Hi OpenSSH developers In the source file *scp.c* there is a function called *okname(char *cp0)* that validates the entered username by using the scp command as follows: * *[ Fragment scp.c start ] ... int okname(char *cp0) { int c; char *cp; cp = cp0; do { c = (int)*cp; if (c & 0200) goto bad; if (!isalpha(c) &&
2002 Nov 07
2
[Bug 431] scp could prevent write access to server
http://bugzilla.mindrot.org/show_bug.cgi?id=431 ------- Additional Comments From gfernandez at livevault.com 2002-11-08 00:36 ------- Created an attachment (id=174) --> (http://bugzilla.mindrot.org/attachment.cgi?id=174&action=view) adds readonly flag to scp this change applies to scp.c ------- You are receiving this mail because: ------- You are the assignee for the bug, or are
2004 Jul 04
1
[Bug 891] possible problem with non-printing characters during scp copy
http://bugzilla.mindrot.org/show_bug.cgi?id=891 Summary: possible problem with non-printing characters during scp copy Product: Portable OpenSSH Version: 3.6.1p2 Platform: ix86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: scp AssignedTo: openssh-bugs at
2024 Jan 26
3
[Bug 3660] New: Prevent disastrous unintended local copying
https://bugzilla.mindrot.org/show_bug.cgi?id=3660 Bug ID: 3660 Summary: Prevent disastrous unintended local copying Product: Portable OpenSSH Version: 9.6p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: scp Assignee: unassigned-bugs at
2013 Apr 15
10
[Bug 2091] New: scp hangs while copying a large file and being executed as a background process ( with nohup )
https://bugzilla.mindrot.org/show_bug.cgi?id=2091 Bug ID: 2091 Summary: scp hangs while copying a large file and being executed as a background process ( with nohup ) Classification: Unclassified Product: Portable OpenSSH Version: 6.1p1 Hardware: Other OS: AIX Status: NEW Severity:
2004 Apr 13
3
scp problem
RCSID("$OpenBSD: scp.c,v 1.113 2003/11/23 23:21:21 djm Exp $"); Part of the OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003 distribution Could someone verify this case we found that causes a file to be missed during copying? Here is the setup to replicate the problem: On hosta /tmp: -rw-rw-r-- 1 user01 group01 0 Apr 13 10:44 file0 -rw-rw-r-- 1 user01