search for: remout

Displaying 20 results from an estimated 22 matches for "remout".

Did you mean: remount
2008 Dec 16
4
GlusterFS process take very many memory
...vz-locks-perf type performance/io-threads option thread-count 8 option cache-size 8MB subvolumes vz-locks end-volume volume server type protocol/server option transport-type tcp/server subvolumes vz-locks-perf option auth.ip.vz-locks-perf.allow 192.168.* end-volume ################ # remoute data # ################ #### # main volume remvz01 type protocol/client option transport-type tcp/client option remote-host 192.168.34.2 option remote-subvolume vz-locks-perf option transport-timeout 60 end-volume #### # sv volume remvz02 type protocol/client option transport-type tcp/cli...
2004 Aug 31
1
[PATCH] supporting a remote scp path option in scp
...S) */ char *ssh_program = _PATH_SSH_PROGRAM; +/* This is the program to execute for the remote scp. ("scp" or -e) */ +char *scp_remote_program = _PATH_SCP_REMOTE_PROGRAM; + /* This is used to store the pid of ssh_program */ pid_t do_cmd_pid = -1; @@ -198,8 +201,8 @@ int errs, remin, remout; int pflag, iamremote, iamrecursive, targetshouldbedirectory; -#define CMDNEEDS 64 -char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ +char *rscpcmd; /* must hold scp_remote_program + "-r -p -d\0" */ + int response(void); void rsource(c...
2006 May 14
1
scp patch to delete source files after copy
...******* *** 315,320 **** --- 318,326 ---- case 'S': ssh_program = xstrdup(optarg); break; + case 'u': + delete_source = 1; + break; case 'v': addargs(&args, "-v"); verbose_mode = 1; *************** *** 373,381 **** remin = remout = -1; do_cmd_pid = -1; /* Command to be executed on remote system using "ssh". */ ! (void) snprintf(cmd, sizeof cmd, "scp%s%s%s%s", verbose_mode ? " -v" : "", iamrecursive ? " -r" : "", pflag ? " -p" : "...
2002 Jul 13
0
[PATCH]: scp program improved
...+138,9 @@ /* This is set to non-zero to enable verbose mode. */ int verbose_mode = 0; +/* This disables resume mode for default */ +int resume_mode = 0; + /* This is set to zero if the progressmeter is not desired. */ int showprogress = 1; @@ -202,6 +224,7 @@ uid_t userid; int errs, remin, remout; int pflag, iamremote, iamrecursive, targetshouldbedirectory; +off_t rate_limit = 0; #define CMDNEEDS 64 char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ @@ -223,7 +246,10 @@ char *targ; extern char *optarg; extern int optind; - + int factor, i; /* For rate limit */ + c...
2001 May 12
4
Erase the source file open; specify a tempfile name option
...-- Index: scp.c @@ -105,6 +105,7 @@ /* Returns width of the terminal (for progress meter calculations). */ int getttywidth(void); + int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc); /* Struct for addargs */ @@ -206,9 +207,11 @@ uid_t userid; int errs, remin, remout; int pflag, iamremote, iamrecursive, targetshouldbedirectory; +int eraseflag; +char *tmpfn = ""; -#define CMDNEEDS 64 -char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ +char *cmd; +int cmdlen; int response(void); void rsource(char *, struct stat *); @@ -236,7 +239,7 @@...
1999 Dec 14
2
1.2pre17 scp Input/Output error
Under OpenSSH 1.2pre17 I can duplicate and Input/Output error for scp: Conditions: pc36 is a RH6.0/i386 box. abc.co.za is a RH5.2/i386 box. (private network) openssh 1.2 pre 17 on both boxes. Line between them is a 128k leased line. It works between two 10baseT machines. If the scrollbar is active, the scp fails, if it isn't active, scp works. Note that without the scrollbar, the file gets
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?
2000 Aug 18
0
[PATCH] Support symlinks in scp of openssh 2
...+Preserves symbolic links as such, instead of following them and +copying their targets. .It Fl p Preserves modification times, access times, and modes from the Index: scp.c --- scp.c.prev +++ scp.c Fri Aug 18 04:14:40 2000 @@ -253,5 +253,5 @@ struct passwd *pwd; uid_t userid; int errs, remin, remout; -int pflag, iamremote, iamrecursive, targetshouldbedirectory; +int linkflag, pflag, iamremote, iamrecursive, targetshouldbedirectory; #define CMDNEEDS 64 @@ -280,5 +280,5 @@ main(argc, argv) memset(sshoptions,0,sizeof(sshoptions)); sshoptionsend = sshoptions; - while ((ch = getopt(argc, arg...
2001 Oct 16
6
program-prefix does not work
...** --- 272,280 ---- case 'S': ssh_program = xstrdup(optarg); break; + case 's': + scp_program = xstrdup(optarg); + break; case 'v': addargs(&args, "-v"); verbose_mode = 1; *************** *** 327,343 **** remin = remout = -1; /* Command to be executed on remote system using "ssh". */ ! (void) snprintf(cmd, sizeof cmd, "scp%s%s%s%s", verbose_mode ? " -v" : "", iamrecursive ? " -r" : "", pflag ? " -p" : "", ! ta...
2010 Nov 19
3
File Offsets for SCP (patch)
...H connections by means of a management application. Any comments, questions, or suggestions are welcome. --- ../canonical-openssh5.6/scp.c 2010-07-01 23:37:33.000000000 -0400 +++ scp.c 2010-11-19 17:17:26.000000000 -0500 @@ -302,6 +302,7 @@ struct passwd *pwd; uid_t userid; int errs, remin, remout; int pflag, iamremote, iamrecursive, targetshouldbedirectory; +double fd_offset, fd_inset; #define CMDNEEDS 64 char cmd[CMDNEEDS]; /* must hold "rcp -r -p -d\0" */ @@ -324,6 +325,9 @@ main(int argc, char **argv) extern char *optarg; extern int optind; + fd_inset = 0; + fd_o...
2017 Aug 04
4
Filter files received on scp server
Hey, So, I would be looking at type A. Forgive me if my understanding of how OpenSSH operates is not reflective of reality. I am assuming that, the file transfer is happening somewhat logically, with a name being known, content written, blah blah. >From reading scp.c, it appears that, the client end at least knows the file name so I must assume the server end must be given it. I am hoping to
2011 Aug 17
1
openssh-unix-dev Digest, Vol 100, Issue 3
...xasprintf(&bp, "%s -f -- %s", cmd, src); > + xasprintf(&bp, "%s -f %s%s", cmd, > + *src == '-' ? "-- " : "", src); > if (do_cmd(host, suser, bp, &remin, &remout) < 0) > exit(1); > (void) xfree(bp); > host = cleanhostname(thost); > - xasprintf(&bp, "%s -t -- %s", cmd, targ); > + xasprintf(&bp, "%s...
2001 Dec 28
2
RedHat 7.2 quota problem
Hi everyone, I need to setup quota on ext3 filesystem. I created /aquota.* files with 600 chmod, added grpquota and usrquota to /etc/fstab, remouted partition, [root@zeby root]# mount /dev/hda1 on / type ext3 (rw,usrquota,grpquota) ... but when I try [root@zeby root]# quotaon / quotaon: using //aquota.group on /dev/hda1: Invalid argument. quotaon: using //aquota.user on /dev/hda1: Invalid argument. any ideas ? I'm using RedHat 7.2 -...
2012 Aug 19
3
Bug Report and patch fix
..., "%s -t %s%s", cmd, *targ == '-' ? "-- " : "", targ); + verifypath(argv[i]);/*added to check for the local existence of file before trying to do anything*/ host = cleanhostname(thost); if (do_cmd(host, tuser, bp, &remin, &remout) < 0)
2000 Dec 12
1
scp and filenames with weird characters
...host = cleanhostname(host); - len = strlen(src) + CMDNEEDS + 20; + len = strlen(src) + CMDNEEDS + 22; bp = xmalloc(len); - (void) sprintf(bp, "%s -f %s", cmd, src); + (void) sprintf(bp, "%s -f \"%s\"", cmd, src); if (do_cmd(host, suser, bp, &remin, &remout, argc) < 0) { (void) xfree(bp); ++errs;
2001 May 17
6
scp: Problem when source and destination are identical
If the source and destination file are identical, the receiving scp truncates the file. On the sending end, read() returns 0, and garbage is sent instead of actual data, and the receiving end puts it into the file, which at least confuses the users. -- Florian Weimer Florian.Weimer at RUS.Uni-Stuttgart.DE University of Stuttgart http://cert.uni-stuttgart.de/
2012 May 02
2
could not do orphan cleanup - openSUSE 12.1
...09:51 ctrlaltdel kernel: [ 23.358868] btrfs: unlinked 1 orphans Now the interesting part: I can mount the home-vol RO and remount it RW without any error messages logged! Since now I do not get any hourly generated oprhans logs. But upon a system restart I need to ro-mount with a following rw-remout manually, again. Any suggestions what to do? Kind regards for your help. Henrik Kuhn -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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
2012 Mar 08
17
kernel BUG at fs/btrfs/delayed-inode.c:1466!
Hi, this shown up today. I had to do a hard reboot as graceful hanged on sync(). ------------[ cut here ]------------ kernel BUG at fs/btrfs/delayed-inode.c:1466! invalid opcode: 0000 [#1] SMP CPU 10 Modules linked in: btrfs zlib_deflate lzo_compress ipmi_devintf autofs4 be2iscsi iscsi_boot_sysfs ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_addr iscsi_tcp bnx2i cnic uio ipv6 cxgb3i libcxgbi