Re: Is this port forwarding or something else
- From: reader@xxxxxxxxxxx
- Date: Sat, 18 Feb 2006 10:02:41 -0600
Neil W Rickert <rickert+nn@xxxxxxxxxx> writes:
All these machinations are coming up because I can't think of a way to
automate rsnaphsot backups between rhost1 and rhost2 without having to
login on rhost1 to either run the command or start the ssh-agent and
add the necessary key with ssh-add so a cron job can access the
socket.
Why not:
run ssh-agent on your local machine, and add a key there.
ssh into rhost1, using agent forwarding.
from there, run the remote command on rhost2
I guess it wasn't clear in OP that I want this automated.
I have user privs on rhost1 and rhost2 but root on localhost.
This does depend on agent-forwarding being allowed by sshd on rhost1.
All subject hosts allow it.
Another possibility is to use host-based authentication between
rhost1 and rhost2. That's what I plan to do if I ever get around to
automating my backups. This depends on sshd allowing host-based.
What do you mean above? Is it something that requres root on remotes?
Is it something you setup once and it can run unattended (from cron).
.
- Follow-Ups:
- Re: Is this port forwarding or something else
- From: Neil W Rickert
- Re: Is this port forwarding or something else
- References:
- Is this port forwarding or something else
- From: reader
- Re: Is this port forwarding or something else
- From: Neil W Rickert
- Is this port forwarding or something else
- Prev by Date: Re: Is this port forwarding or something else
- Next by Date: Re: Is this port forwarding or something else
- Previous by thread: Re: Is this port forwarding or something else
- Next by thread: Re: Is this port forwarding or something else
- Index(es):
Relevant Pages
|
|