Gentoo Archives: gentoo-user

From: Hans-Werner Hilse <hilse@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Blocking only unsuccessful ssh connections
Date: Thu, 05 Oct 2006 19:26:52
Message-Id: 20061005212352.7799bf63.hilse@web.de
In Reply to: Re: [gentoo-user] [OT] Blocking only unsuccessful ssh connections by "José González Gómez"
1 Hi,
2
3 On Thu, 5 Oct 2006 20:47:18 +0200
4 "José González Gómez" <jgonzalez.openinput@×××××.com> wrote:
5
6 > Unfortunately I'm not "responsible" for making these connections. I'm using
7 > Maven (http://maven.apache.org/) to deploy some files to my server. Maven
8 > seems to use a different ssh connection for every operation it does (check
9 > for current version deployed, read metadata, copy several files to remote
10 > server...). I'll write to the Maven list to ask about this, maybe there is
11 > some way to slow down or reuse connections.
12
13 Ah, I see. Well, that's easy to overcome by a SSH-via-SSH tunnel :-)
14 Just make an initial connection like this:
15
16 $ ssh -L22222:127.0.0.1:22 vhost.isp.org
17
18 and then either use 127.0.0.1:22222 as ssh target host, or configure a
19 section in your ~/.ssh/config for the tunneled access to the host, e.g.
20 ---snip
21 Host tunneledvhost
22 HostName 127.0.0.1
23 Port 22222
24 ---snip
25 and then just use "tunneledvhost" to connect to.
26
27 -hwh
28
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] Blocking only unsuccessful ssh connections "José González Gómez" <jgonzalez.openinput@×××××.com>