Displaying 20 results from an estimated 3000 matches similar to: "About mirroring in both sides"
2001 Oct 25
2
Both directions Mirror
Good evening
I use d as follows.
(It is every 5 minutes from Cron)
#!/bin/sh
LOCK=/tmp/lock.pid
if [ ! -e $LOCK ]; then
echo 1 > $LOCK
rsync -ave ssh --delete /export/mirror user@hostB:/export
rsync -ave ssh --delete user@hostB:/export/ /export/mirror/
rm > $LOCK
fi
However, now, it is.
It will be deleted even when a file is created on both sides.
Should the script
2012 Jul 12
3
ssh port forwarding
Hello Everyone,
I am having a problem with setting up port forwarding from one of our local
CentOS machines to an AWS EC2 instance. We are wanting to make mysql
connections over an ssh tunnel.
In this case, lets say that hostA is our local machine, and hostB is the
Amazon EC2 instance. I have tried several different variations (that I have
found from google searching), including:
from hostA: ssh
2002 Feb 25
1
problem with tinc pre5
Hello,
I have 2 hosts HostA and HostB
HostA - 10.38.9.2, kernel 2.4.16, tincd from Debian package
HostB - 10.38.9.223, kernel 2.2.17-21mdk, tincd from tarball package.
HostA:
------------------------------
/etc/tinc/test4/tinc.conf
Name = HostA
ConnectTo = HostB
TapDevice = /dev/misc/net/tun
PrivateKeyFile = /etc/tinc/test4/rsa_key.priv
/etc/tinc/test4/hosts/HostA
Subnet = 10.0.0.0/8
Port =
2003 Mar 12
1
Problems with ! -p
Hi there,
rsync version 2.5.5 protocol version 26.
I seem to be having some trouble using rsync to ignore permissions on a
remote host when syncing back to a local host. I want it to listen to
the umask of the user running the rsync locally. Eg:
[remote host - I've touched a file made it 4750, etc, etc]
hostb $ mkdir -p /data/rsync/temp
hostb $ touch /data/rsync/temp/foo
hostb $ chgrp
2018 Apr 10
2
Route certain trafic via a tinc node that is not directly connected.
On Tue, Apr 10, 2018 at 03:36:08PM +0200, Hans de Groot wrote:
> hosta <--> hostb <--> hostc
>
> Hosta and hostc are not directly connected via tinc. But both are conncted
> via hostb (I called my network tincnet). This works fine I can ssh from
> hosta to hostc and vice versa without any problems.
>
> hostc is in a whitelisted iprange at some service
2003 Sep 12
1
Agent Forwarding Anomalies on OpenBSD 3.3/OpenSSH 3.6.1
I have a curious situation with four OpenBSD 3.3 hosts.
Each of these has public/private keys on each other for inter-host
authentication using RSA2 keys.
For instance, they're called hostA-to-hostBCD, hostB-to-hostACD,
hostC-to-hostABD, and hostD-to-hostABC.
The sshd_config files, on each host, look as follows...
#;
#; /etc/ssh/sshd_config
#;
Port 22
Protocol 2
ListenAddress
2024 Oct 19
2
HOWTO (advanced) ssh transparent proxy jump
Hello OpenSSH team,
(New subscriber and very first message... by the way thanks for bringing
ssh to the wolrd).
I have a question, maybe not so simple.
_The question in short :
_
Context? :_
_
In a jump configuration HostA -> (HostB) -> HostC
The classical way to connect is :
usera at hosta $ *ssh -J userb at hostb userc at hostc*
And to make it "locally
2015 Jun 11
2
tinc as layer 2 switch doesn't automatically mesh with other nodes
We have a handful of nodes set up. Some are NAT'd but a few have direct
access to the Internet.
Sample confs:
HostA:
Name = HostA
AddressFamily = any
Interface = tap0
Mode = switch
Connectto = HostB
GraphDumpFile = /tmp/mesh
HostB:
Name = HostB
AddressFamily = any
Interface = tap0
Mode = switch
Connectto = HostA
GraphDumpFile = /tmp/mesh
And so on. If I use HostA as the main meta sever.
2014 May 14
2
Option to turn off listen port, e.g. client only mode
Hey,
I have this setup on my small test tinc-vpn.
HostA (runs on a server and is publicly accessible)
HostB (runs on my laptop (behind firewall) sometimes and connects to HostA)
HostC (runs on a Amazon AWS server (behind firewall) to test long uptime and connects to HostA)
This setup allows me to communicate from HostB to HostC thru HostA without any issues.
Everything works great, but I
2012 Mar 13
1
Error recovery
I am trying to figure out what happens in the following scenario:
I use rsync to copy files from hostA:/dir1 to hostB:/dir1
with the command (from hostB)
rsync -abvt --delete-after --suffix=~ hostA:/dir1 /dir1
So if fileA exists already on both boxes (it has previously been
rsynce-d) and
fileA changes on hostA.
rsync starts from hostB, fileA starts transfer.
If the transfer aborts before it
2003 Dec 30
1
rsync 2.5.7 link-dest seems broken
Hi --
I'm experiencing problems when using rsync between two different machines.
Details follows:
Both machines are running 2.4.23, rsync versions on both are identically
configured versions of 2.5.7:
rsync version 2.5.7 protocol version 26
Copyright (C) 1996-2002 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks,
2007 Dec 12
1
How do you backup a LVM LV?
I have a virtual machine in a Xen LV, that I would like to backup from hostA
to hostB
because hostA is software broken. How do I copy and recreate that LV on
hostB?
Greets,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20071213/bce2df4a/attachment-0002.html>
2017 Apr 05
0
Transfer hangs, both sides waiting on receive
Hi,
We're encountering a rather weird, sporadic hang during a large-file
transfer. A bit of background on the setup:
- Host A rsyncs a MySQL database from Host B. Both sides use rsync
3.1.1 on Debian Jessie.
- Host B serves the files using rsync --daemon from an ext4 filesystem
residing on a thin LVM snapshot.
- Host A uses the following command to rsync the files to a btrfs
2001 Mar 14
2
sftp over 2 hosts?
Hi list,
I tried sftp and it works perfect via a direct connection between 2 hosts. Our situation is that we have to go from our intranet through a firewall gateway to the internet and then to a third server. With "normal" ssh this works via: "ssh -t hosta ssh hostb". It seems to me that this doesn't work with sftp ;-((. Would it be complicate to implement?
Thanks
Stephan
2009 Mar 03
13
xm migrate headache
Hi,
I am trying to (live-)migrate a paravirtualized machine from hosta to
hostb:
-----8<----
hosta:~ # xm list pvm
Name ID Mem VCPUs State Time(s)
pvm 64 384 1 -b---- 0.5
hostb:~ # xm list pvm
Error: Domain ''pvm'' does not exist.
hosta:~ # xm migrate pvm 192.168.0.2
Error:
2002 Jun 05
3
ssh-add: local private keys added to forwarded agents
Hi,
This may or may not cause concern for some people (considering a lot of
people store all of their keys on a single client system).
Snippet from draft-ietf-secsh-agent-00.txt:
2. Security Considerations
This protocol is designed only to run as a channel of the SSH
protocol.
The goal of this extension is to ensure that the users private keys
never leave the machine they are
2003 Aug 22
1
ifconfig hw ether and -arp
Hi,
Just thought I'd mention that I spent a while battling with tinc today.
I had quite a weird behaviour - in routing mode, tinc would come up fine
on both hosts, but pinging hosta from hostb wouldn't work until hosta
pinged hostb.
I've used an earlier version of tinc before in a different environment
with no problems, and vaguely remembered a more complicated tinc-up
script, so I
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
2000 Jul 20
3
scp over 2 hosts
Hi folks,
I have the that I must copy some through a Plag-Gateway of a Firewall over 2 host. A secure connection via "ssh - t hosta ssh -t hostb" works fine, but does this work with scp too? Icould not realize it either with scp (1.2.27 of ssh.com) or scp from openssh. Do you have any ideas?
Thanks
Stephan
2009 Jan 12
1
Is -R --link-dest really hard to use, or is it me?
I've got a problem for which the combination of -R and --link-dest
doesn't seem to be quite enough---and I may have discovered a few
small bugs as well; test cases are below.
[And if someone has a scheme for doing this that doesn't involve rsync
at all, but works okay, I'm all ears as well---I'm not the first with
this problem.]
Here's my problem: I unfortunately need to