Displaying 14 results from an estimated 14 matches for "local_dir".
2019 Jan 24
5
sftp Vs scp
...ftp to get scp-like interfaces, or scp to
> get all of the functionality of sftp, so the 'other' can die the ignominious
> death it deserves.
What's missing in sftp is a drop in replacement mode for copying to
the remote server, i.e. this should work out of the box:
$ sftp -rp local_dir server:path
But, alas:
ssh: Could not resolve hostname local_dir: Name or service not known
If sftp had this mode, I would alias scp=sftp and be done with it.
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed......
2004 Dec 21
1
smb_trans2: invalid data
Hello everyone,
I have tried to solve out the 'smb_trans2: invalid data' by 'unix extensions =
no' as it was written in one of the previous mails. Still I have a bad
problem:
when I mount like this:
mount.smbfs //server/service /local_dir -o
username=my_remote_login,uid=my_local_login,gid=users,rw
and then I try to copy a file to /local_dir as the user my_local_login, the
file is copied ok but then it takes a looong time to go on (perhaps when
changing the file's uid or attributes, or whatever...). Actually before I set
...
2003 Nov 18
2
Win2k Scheduler not able to execute rsync over SSH
...the RH to Win2K box.
I have copied required cygwin DLL's and rsync.exe,ssh-keygen.exe and ssh.exe.
I set up my pub rsa id and all that stuff.
My problem is here:
I have a batch file which logs itself. The batch file contains some logging commands and
rsync -avze ssh user@server:/directory/. /local_dir
This command is executed fine at the command prompt. (Doesnt ask for password or passphrase as it is all setup.)
when I execute this batch file thorugh the Win2K Task scheduler all the other commands in the batch file are executed except the above command. Dont know why.
I have another job which...
2008 Oct 09
1
rsync backup permissions
I had a quick look for an answer to what I'd presume is a common Q but
failed so wondering if somebody here would point me in the right
direction, please & thanks?!
I wish to use rsync to backup users' home dirs from machineA (Debian) to
machineB (Fedora). I have a script, say backup.sh, in my own home dir
and linked to from /etc/cron.daily and have set up the ssh keys so
2009 Oct 03
1
Filter file: selected directories only
Hi!
I'm trying to create a filter file for rsync what saying which dirs to
copy. For example i need only /lib and /var/lib dirs from remote server.
I say:
rsync -f ". /tmp/rsync_dirs" --dry-run --verbose "remote:/"
"/local_dir/".
File /tmp/rsync_dirs looks like:
+ /lib/
+ /var/
-! /var/lib/*
- /*
This doesnt work: it copies all /var/ dir except contents of /var/lib/.
What's wrong?
2004 Nov 27
2
Shared remote repository
...bit of a problem - I have the feeling the solution is
ridicolously trivial, and yet I can't find it!
I have a remote repository of text files. Until today, I was the only
one changing those files: I would simply change them locally, and
update the remote repository with this command:
cd local_dir
rsync --delete -e ssh -Llavuz . merc@remote_server:remote_directory
Now, things are more complicated because I am not the only person
modifying those files stored in the remote server anymore.
So, here is what I'd like to do:
* Make sure that the remote respository is always the "good...
2019 Jan 23
3
sftp Vs scp
Damien,
Reading the various articles about
https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt have
caused me to question the wisdom of using scp. Your observation:
> Date: Tue, 22 Jan 2019 13:48:34 +1100 (AEDT)
> From: Damien Miller <djm at mindrot.org>
> Subject: Re: Status of SCP vulnerability
>
> "Don't use scp with untrusted
2019 Jan 24
3
sftp Vs scp
..., at 10:27, Ben Lindstrom <mouring at offwriting.org> wrote:
>
> Corinna Vinschen wrote on 1/24/19 6:28 AM:
>> What's missing in sftp is a drop in replacement mode for copying to
>> the remote server, i.e. this should work out of the box:
>>
>> $ sftp -rp local_dir server:path
>>
>> But, alas:
>>
>> ssh: Could not resolve hostname local_dir: Name or service not known
>>
>> If sftp had this mode, I would alias scp=sftp and be done with it.
>>
> If memory serves the argument was "if we are calling it an ft...
2005 Feb 02
1
Selectively overriding --cvs-exclude option
...any luck. It appears rsync
is ignoring my --include option and outright excluding all CVS matches.
I also tried using a file that is in the default list; this also failed.
Here's the command I'm using:
rsync --dry-run --include "/public_html/admin/test.exe" -C -avzub -e ssh <local_dir> <remote_dir>
Is this a bug or a misunderstanding? I'm using rsync v2.6.3 on Debian Sarge.
Thanks,
William
--
Knowmad Services Inc.
http://www.knowmad.com
2006 Sep 12
2
rsync through ssh - i get an error
On Mon, Sep 11, 2006 at 01:31:00PM +0200, rsync-mail-gateway@nasbackup.com wrote:
> rsync: read error: Connection reset by peer (104)
This means the socket closed. Does rsync even get started on the remote
system? That would be the first thing to investigate. If it is getting
run, does the remote process crash or die? If you are connecting with a
daemon process, you can look at the logs to
2008 May 15
3
Directory Compare
I need to verify some directories of backed up data versus restored data. What would you recommend as the type of comparison to do, and which tool would give the easiest/most usable output?
Thanks!
jlc
2004 Jan 12
0
Large File Access from Linux to Linux Host using Samba
...equest from
test.bscnet.com for / (/): no export entry
Jan 12 08:35:09 gateway rpc.mountd: refused mount request from
test.bscnet.com for / (/): no export entry
What is meant by "no export entry"? to connect from either side, I use the
command:
mount.cifs //server_name/share_name /local_dir -o
username=root,password=xxxx
I assume the exports are the same as the ones in the smb.conf file, and
besides, it works in one direction. The only difference between the working
and failing hosts is that the working one is a PII 500 Mhz cpu, the failing
one is a Pentium-MMX cpu.
Lastly I'...
2002 Jun 01
0
Testing a transfer-only rsync tool
...ffer" task.
The code is still fairly young and while some of it is pretty good,
other bits show signs of being written in haste. I've tested it on a
small number of scenarios so far, but nothing exhaustive.
Commands accepted by the tool on stdin (* means not yet tested):
cd REMOTE_DIR [LOCAL_DIR] chdir both sides at once
tmpdir REMOTE_PATH [LOCAL_PATH] where temp-files go
get REMOTE_FILE [LOCAL_FILE [BASIS_FILE]] rsync to the local system
put LOCAL_FILE [REMOTE_FILE [BASIS_FILE]] rsync to the remote system
mvget REMOTE_FILE [LOCAL_FILE [BASIS_FILE]] g...
2015 Sep 09
5
Building LLVM and Clang using Clang?
Try as I might I can't seem to get LLVM to bulid using clang/clang++.
No matter what I do it insists on using /usr/bin/cc and /usr/bin/c++
which are gcc. Am I missing something obvious? I vaguely remember some
document describing a stage1 compiler built by your old toolchain and
a stage2 compiler but I can't find the steps to do that any more.
$ CC=/usr/local/bin/clang