Curiosity -D

From: Greyson M Fischer (gfischer_at_mrdoc.cc)
Date: 07/22/03


Date: 22 Jul 2003 19:45:43 GMT

SSH Version Line:
OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0

I've been using SSH for a while now, but was browsing through the man
pages (looking for some help on complex port forwarding (second issue))
and was curious as to a practical usage for the '-D <port>' paraemter.
Any clarification?

Also, very slightly more pressing (than curiosity):
So I've forwarded some ports from machine SX (behind a firewall) to
machine CY so that I can use SX from CY. Has anyone had any experience
forwarding rsh/rexec/rlogin ports? The only connectivity I've got is
through telnet -- and that requires logging in each time, but I'm
looking to exec some commands transparently from CY.

And to top off my questions of the month:
Is there a way to reverse-forward X? (use SX X programs from CY)

As a disclaimer, there is no way to connect from CY to SX (unless I wanted
to be ludicrous and SSH over an SSH forwarded port; being that these two
machines aren't on the same network, that's pretty impractical)

Thank you in advance!

-- 
Greyson M. Fischer
<pre>
      |\      _.,,---,._      
ZZzz. /,`.-'`'    -.  ;-;;,_  
     |,4-  ) )-,_. ,\ (  `'-' 
    '---''(u/--'  `-'\_)      
</pre>


Relevant Pages

  • Re: Openssh Port Forwarding Confusion
    ... >Now for my Port forwarding question. ... So far what I have extracted about ssh port ... You connect to a port on the SSH client. ...
    (comp.security.ssh)
  • Re: Port forwarding and ssh
    ... >> the only problem was from my NAT router which does ... >> machine by ssh and port forwarding and i try to ssh ...
    (Fedora)
  • Re: [SLE] tunneling through an intermediate host
    ... SSH to the gateway as usual, setting up a forwarded port to ... >> enable X forwarding on this first connection since it doesn't ... >> sound like you're actually running anything X from the gateway. ...
    (SuSE)
  • Re: Unix-domain port forwarding with openssh
    ... Hmmmmm...why port forwarding? ... >like it would be an easy feature to add to ssh. ... your app's daemon, you could just run your app as an SSH command. ...
    (comp.security.ssh)
  • Re: ssh gives "Permission denied, please try again"
    ... port 22 on your internal machine, so you will need to keep ssh up to ... I configure the router to forward a different external port to 22 on my ... For good measure pick usernames that are none obvious, ... root/password: 163 times ...
    (uk.comp.os.linux)