Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

command= for each forwarded connection?

From: Bill McGonigle <mcgonigle(at)medicalmedia.com>
Date: Tue Jan 21 2003 - 12:51:10 EST


Is there something like command= that will run each time a new forwarded TCP connection is initiated?

For example, if I was forwarding an SMTP connection, the behavior I have is:

	ssh connects and sets up port forward
	command= is run
	SMTP session 1
	SMTP session 2
	SMTP session 3
	ssh connection is closed

but what I'd like is:
	ssh connects and sets up port forward
	SMTP session 1 established
	command= is run
	SMTP session 2 established
	command= is run
	SMTP session 3
	command= is run
	ssh connection is closed

Maybe there's an obvious way to do it that I'm missing, or perhaps somebody has a solution to approximate this behavior?

Any wisdom appreciated.

Thanks,
-Bill Received on Thu Jan 23 11:02:22 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:52 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library