Displaying 5 results from an estimated 5 matches for "verifydir".
2005 May 24
1
scp remote-to-remote implementation
...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
*/
toremote(targ, argc, argv); /* TODO make dest remote server2 */
} else if ((targ = colon(argv...
2001 Feb 08
1
username check in scp
....
-- Hitchiker's Guide To The Galaxy
-------------- next part --------------
--- scp.c.orig Thu Feb 8 21:20:50 2001
+++ scp.c Thu Feb 8 21:21:21 2001
@@ -207,7 +207,6 @@
char *colon(char *);
void lostconn(int);
void nospace(void);
-int okname(char *);
void run_err(const char *,...);
void verifydir(char *);
@@ -371,8 +370,6 @@
tuser = argv[argc - 1];
if (*tuser == '\0')
tuser = NULL;
- else if (!okname(tuser))
- exit(1);
} else {
thost = argv[argc - 1];
tuser = NULL;
@@ -395,8 +392,6 @@
suser = argv[i];
if (*suser == '\0')
suser = pwd->...
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.
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?
2001 Oct 16
6
program-prefix does not work
...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_program,
verbose_mode ? " -v" : "",
iamrecursive ? " -...