Bug 1664

Summary: add support for tagging session channels with friendly names and add "ps" control command
Product: Portable OpenSSH Reporter: Salvador Fandiño <sfandino>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: enhancement CC: djm
Priority: P2    
Version: -current   
Hardware: Other   
OS: All   
Attachments:
Description Flags
adds the base channel tagging code
none
cleanups mux.c so it becomes easier to add new mux commands
none
adds support for the ps command and passing the slave pid through the mux channel when requesting a new session none

Description Salvador Fandiño 2009-10-25 22:04:35 AEDT
Created attachment 1706 [details]
adds the base channel tagging code

The attached patches add support for tagging the session channels with
friendly names and listing them with a new control command (ps).

At present, the PID of the local controlling process is used as the tag
though a new flag could be added to let the user select a different one
(but the PID is so convenient... :-).

There are three patches:

 #1 adds the base channel tagging code
 #2 cleanups mux.c so it becomes easier to add new mux commands
 #3 adds support for the ps command and passing the slave pid through
the mux channel when requesting a new session.

This is mostly the same as the patch I had added to ticket 1424 but
without the kill command support.
Comment 1 Salvador Fandiño 2009-10-25 22:05:49 AEDT
Created attachment 1707 [details]
cleanups mux.c so it becomes easier to add new mux commands
Comment 2 Salvador Fandiño 2009-10-25 22:06:38 AEDT
Created attachment 1708 [details]
adds support for the ps command and passing the slave pid through the mux channel when requesting a new session
Comment 3 Damien Miller 2011-05-06 11:51:30 AEST
Hi,

Have you maintained these patches? Do you have ones against -current or 5.8?
Comment 4 Salvador Fandiño 2011-05-12 17:40:49 AEST
(In reply to comment #3)

> Have you maintained these patches? Do you have ones against -current or
> 5.8?

No, but I would update them for current if you wish.