Re: Need sshd running in debug mode with multiple connections
From: Derek Martin (code_at_pizzashack.org)
Date: 08/07/03
- Previous message: Derek Martin: "Re: SFTP"
- In reply to: Chris Macneill: "RE: Need sshd running in debug mode with multiple connections"
- Next in thread: Johannes Ullrich: "Re: Need sshd running in debug mode with multiple connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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-----
- Previous message: Derek Martin: "Re: SFTP"
- In reply to: Chris Macneill: "RE: Need sshd running in debug mode with multiple connections"
- Next in thread: Johannes Ullrich: "Re: Need sshd running in debug mode with multiple connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|