| To: | openssh-unix-dev@mindrot.org |
|---|---|
| Subject: | remote port forwarding with dynamic port on the far end |
| From: | "Latchesar Ionkov" <lucho@ionkov.net> |
| Date: | Sat, 20 Jan 2007 22:14:14 -0700 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | openssh-unix-dev-list1@securepoint.com |
| Delivered-to: | openssh-unix-dev-tmda@mindrot.org |
| Delivered-to: | openssh-unix-dev@mindrot.org |
| List-archive: | <http://lists.mindrot.org/pipermail/openssh-unix-dev> |
| List-help: | <mailto:openssh-unix-dev-request@mindrot.org?subject=help> |
| List-id: | Development of portable OpenSSH <openssh-unix-dev.mindrot.org> |
| List-post: | <mailto:openssh-unix-dev@mindrot.org> |
| List-subscribe: | <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe> |
| List-unsubscribe: | <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe> |
| Sender: | openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org |
Hi,
I would like to use ssh in a quite a strange setup. For every ssh
connection the near end starts a service (listening on a free TCP
port) that has to be available to the program running on the far end.
I would like to have the connection going through SSH (for encryption)
so I decided to use remote port forwarding. The problem is that there
could be multiple connections of that type to the remote box, so I
cannot use constant port on the far end.
The first question I have is whether a (fairly trivial) patch that
allows ssh -R 0:host:hostport for unprivileged user is going to be
accepted? bind on a zero port will pick a free port on the far end,
exactly what I need.
-R 0:host:port dynamically chosing the port on the far end is not very
useful if I don't know the port that was chosen by the system :) So
the second question is whether it is acceptible to add a new
environment variable passed to the client (say SSH_FORWARDS) that
lists all port forwards that the client initiated?
Thanks,
Lucho
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: PMI patch for OpenSSH 4.4p1, Brian Hamon \(brhamon\) |
|---|---|
| Next by Date: | Re: nologin not working with openssh >= 4.3 and authentication != password, Damien Miller |
| Previous by Thread: | Configurable restrictions, Jonathan Miles |
| Next by Thread: | Move servers public/private keys to a new host, petesea |
| Indexes: | [Date] [Thread] [Top] [All Lists] |