Re: Need sshd running in debug mode with multiple connections

From: Derek Martin (code_at_pizzashack.org)
Date: 08/07/03

  • Next message: chkbrian: "Problmem of SSH in Solaris 8"
    Date: Thu, 7 Aug 2003 01:55:30 -0400
    To: secureshell@securityfocus.com
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    > Hello,
    > Anybody know how to get sshd to trace without limiting
    > it to a single connection? I have an application
    > where there must be 4 separate tunnels open with port
    > forwarding for it to work. Therefore, just one sshd
    > process won't handle it. I can trace the client, but
    > not the server. Any ideas on how to trace the server?

    If your application actually runs ssh to connect to the server, then
    you could try something like this:

    You can run 4 copies of the server in debug mode, on different ports.
    specify the port to listen on with the -p option to sshd. You could
    use 19, 20, 21, and 22, for example, if they're not already in use
    (such as by ftp, etc).

    Then when you run the client, run 4 different copies of the client,
    uniquely specifying the port for one of the created servers, with the
    - -p option.

    Or, if your application uses its own connection code, just clone the
    code that does the connection/port forwarding, and use a different
    port for each connection. No hacking OpenSSH required... Just lots
    of xterms. ;-)

    HTH

    - --
    Derek D. Martin
    http://www.pizzashack.org/
    GPG Key ID: 0xDFBEAD02

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)

    iD8DBQE/MenSdjdlQoHP510RAhRBAJ4qbgieobEbJhmBx97R9w/zWlWcigCfXDhv
    YiC+Sxepe3g/XYEh4pROK/o=
    =SIcm
    -----END PGP SIGNATURE-----


  • Next message: chkbrian: "Problmem of SSH in Solaris 8"

    Relevant Pages

    • Re: Still cant connect to RWW or OWA remotely
      ... it certainly appears to be something about the SBS configuration. ... Meridian.local Ethernet adapter Local Area Connection: ... Windows SMALL BUSINESS SERVER 2003 Windows IP Configuration ... 192.168.254.254) directly to a port on the router and then ...
      (microsoft.public.windows.server.sbs)
    • Re: Still cant connect to RWW or OWA remotely
      ... it certainly appears to be something about the SBS configuration. ... Meridian.local Ethernet adapter Local Area Connection: ... Windows SMALL BUSINESS SERVER 2003 Windows IP Configuration ... 192.168.254.254) directly to a port on the router and then ...
      (microsoft.public.windows.server.sbs)
    • RE: VBscript Error on SBS2k3
      ... DHCP Server turned of SonicWALL with VPN Pass through request for IP to ... the problem should be caused by the 4125 port. ... > | Accessories and Communications and Remote Desktop Connection? ... > | 2.In Internet Explorer on the workstation you are connecting from, ...
      (microsoft.public.windows.server.sbs)
    • Re: interfaces lo:1 lo:2 lo:3? (for remote ssh tunnels)
      ... That's the problem tunneling (port forwarding) solves. ... >>can't get past the client firewall. ... > I don't understand why the server would be making the ... server initiates another connection to the client -- in this ...
      (Debian-User)
    • Re: Can not access Web and FTP sites from Internet
      ... your IP Configuration on the Server is correctly. ... Connecting To 12.208.215.87...Could not open connection to the host, ... 1> From the result, we can see the telnet failed, which means the router ... does not forward Port 443 to SBS Server. ...
      (microsoft.public.windows.server.sbs)