Amanda-Users

ssh tunneling from wherever

2007-08-06 23:43:16
Subject: ssh tunneling from wherever
From: Steve Newcomb <srn AT coolheads DOT com>
To: amanda-users AT amanda DOT org
Date: 06 Aug 2007 23:29:40 -0400
Greetings from the Extreme Markup Languages Conference in Montreal.
(Which is a great conference but it's not what this note is about.)

Here I am at the Europa hotel with pretty good internet service.
Unfortunately, as in most such away-from-home situations, there's no
way for our amanda server to contact my machine after midnight to do
the usual daily backup.

I'd like to do the backup anyway.  I was wondering whether I could set
up an ssh tunnel at bedtime for the backup to occur later at night,
and I came across

http://wiki.zmanda.com/index.php/Amanda_and_ssh_tunnels

...which suggested that this is indeed possible to do, but it doesn't
account for the fact that our amanda is configured to use ssh.

I did what the article said to do (well almost -- what I really did
was:

   ssh -l 10080:<server>:10080 <server> 'sleep 7000' &

) but when I ran amcheck on the server (using another ssh session) it
couldn't find my machine, even though a tunnel presumably existed.
Amcheck, running on the server, said it couldn't find my machine at
port 22.  Whereupon it occurred to me that 10080 is not the same as
22.  (We use auth-ssh.)

Any clues to offer?

-- Steve

Steven R. Newcomb, Consultant
Coolheads Consulting

Co-editor, Topic Maps International Standard (ISO/IEC 13250)
Co-editor, draft Topic Maps -- Reference Model (ISO/IEC 13250-5)

srn AT coolheads DOT com
http://www.coolheads.com

direct: +1 910 363 4032
main:   +1 910 363 4033
fax:    +1 910 454 8461

268 Bonnet Way
Southport, North Carolina 28461 USA

(This communication is not private.  Since the destruction of the 1978
Foreign Intelligence Surveillance Act by the U.S. Congress on August
5, 2007, no electronic communications of innocent citizens can be
hidden from the U.S. government.  Shamefully, our own generation,
acting on fears promoted by fraudulently-elected rogues, has allowed
absolute power (codenamed "unitary Executive") to be usurped by those
very same rogues.  Hail Caesar!)


<Prev in Thread] Current Thread [Next in Thread>