Displaying 8 results from an estimated 8 matches for "tolocal".
Did you mean:
t_local
2001 Jan 30
4
Detection of identical file doesn't work for localhost:
...t now, so please give me some hints if I'm wrong. You use
the function "colon" in 984 to check if you should to a remote copy or a
local copy. I think it would be possible to add a check to it to see if
the name of the remote host will be localhost and then also use the
function "tolocal" for doing a local copy instead of calling "toremote".
What do you guys think? Would you please add this feature?
Ciao
Christian
P.S.: Would somebody please change s/debain/debian/ in the ChangeLog to
fix my email-address? Thanks
-------------- next part --------------
A non-t...
2006 Jan 20
1
Bug: Copying several files to non-directory.
Dear openssh people,
Here's something to try:
$ echo a >a
$ echo b >b
$ echo c >c
$
$ scp a b c
$
$ echo $?
1
$ cat a b c
a
b
b
Ouch! Also, for comparison:
$ cp a b c
cp: copying multiple files, but last argument `c' is not a directory
Try `cp --help' for more information.
$ rcp a b c
rcp: c: Not a directory.
$
Note that the cp behavior is specified in SuSv2.
2005 May 24
1
scp remote-to-remote implementation
...* get 1stRemoteHostName
* get 2ndRemoteHostName
* create _tmp_local = mktemp($ENV{TMP}/1stRemoteHostName.$$)
*/
/* FIXME modify argv to have _tmp_local
* as destination
*/
tolocal(argc, argv); /* TODO make dest local host from
server1 (argc-2 ?) */
verifydir( _tmp_local );
/* FIXME modify argv to have _tmp_local as the copying
from source
* and the 2ndRemoteHostName as the destination
*/
toremo...
2004 Jul 20
8
[Bug 897] scp doesn't clean up forked children when processing multiple files
http://bugzilla.mindrot.org/show_bug.cgi?id=897
Summary: scp doesn't clean up forked children when processing
multiple files
Product: Portable OpenSSH
Version: 3.8p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo:
2019 Jan 19
2
Status of SCP vulnerability
Hello,
I would like to request an update of the progress regarding fixes for the recently disclosed SCP vulnerability (CVE-2018-20685, CVE-2019-6111, CVE-2019-6109, CVE-2019-6110)
It has been stated that CVE-2018-20685 has been patched in november but there are currently no information available on the progress of patches regarding the other CVEs.
Will there be a patched release any time soon?
2012 Aug 19
3
Bug Report and patch fix
...t part --------------
? patch.txt
Index: scp.c
===================================================================
RCS file: /cvs/openssh/scp.c,v
retrieving revision 1.189
diff -u -r1.189 scp.c
--- scp.c 22 Sep 2011 11:38:01 -0000 1.189
+++ scp.c 19 Aug 2012 12:00:35 -0000
@@ -364,6 +364,7 @@
void tolocal(int, char *[]);
void toremote(char *, int, char *[]);
void usage(void);
+void verifypath(char *);
int
main(int argc, char **argv)
@@ -551,6 +552,18 @@
}
void
+verifypath(char *file)
+{
+ if (access(file, F_OK) == -1)
+ {
+ errno = ENOENT;
+ run_err("%s: %s",file,strerror(errno...
2011 Aug 17
1
openssh-unix-dev Digest, Vol 100, Issue 3
...*targ == '-' ? "-- " : "", targ);
> host = cleanhostname(thost);
> if (do_cmd(host, tuser, bp, &remin,
> &remout) < 0)
> @@ -664,7 +667,8 @@ tolocal(int argc, char **argv)
> addargs(&alist, "-r");
> if (pflag)
> addargs(&alist, "-p");
> - addargs(&alist, "--");
> +...
2001 Oct 16
6
program-prefix does not work
...rsive ? " -r" : "", pflag ? " -p" : "",
! targetshouldbedirectory ? " -d" : "");
(void) signal(SIGPIPE, lostconn);
if ((targ = colon(argv[argc - 1]))) /* Dest is remote host. */
! toremote(targ, argc, argv);
else {
! tolocal(argc, argv); /* Dest is local host. */
if (targetshouldbedirectory)
verifydir(argv[argc - 1]);
}
--- 331,349 ----
remin = remout = -1;
/* Command to be executed on remote system using "ssh". */
! if (snprintf(cmd, sizeof cmd, "%s%s%s%s%s",
! scp_progra...