Bug 1664 - add support for tagging session channels with friendly names and add "ps" control command
Summary: add support for tagging session channels with friendly names and add "ps" con...
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: Other All
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-25 22:04 AEDT by Salvador Fandiño
Modified: 2011-05-12 17:40 AEST (History)
1 user (show)

See Also:


Attachments
adds the base channel tagging code (1.27 KB, patch)
2009-10-25 22:04 AEDT, Salvador Fandiño
no flags Details | Diff
cleanups mux.c so it becomes easier to add new mux commands (5.50 KB, patch)
2009-10-25 22:05 AEDT, Salvador Fandiño
no flags Details | Diff
adds support for the ps command and passing the slave pid through the mux channel when requesting a new session (5.15 KB, patch)
2009-10-25 22:06 AEDT, Salvador Fandiño
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.