Skip to content

sockets flush does not stop mux process #278

@jsimonetti

Description

@jsimonetti

After logging in to server a mux process and assh connect process is started:

% ps faux | grep server
jeroen 31863  0.1  0.0 532640  8008 pts/1    Sl   01:11   0:00  \_ /usr/bin/assh connect --port=22 server
jeroen 31895  0.0  0.0  40784  2564 ?        Ss   01:11   0:00  \_ ssh: /home/jsimonetti/.ssh/cm/server-22-jeroen.sock [mux]
% assh sockets list
1 active control sockets in "~/.ssh/cm/%h-%p-%r.sock":

- server-22-jeroen.sock (19 seconds)

However, when flushin the sockets, the mux process and assh connect process is still running:

% assh sockets flush
Closed 1 control sockets.
% ps faux | grep server
jeroen 31863  0.0  0.0 532640  8008 pts/1    Sl   01:11   0:00  \_ /usr/bin/assh connect --port=22 server
jeroen 31895  0.0  0.0  40784  2564 ?        Ss   01:11   0:00  \_ ssh: /home/jsimonetti/.ssh/cm/server-22-jeroen.sock [mux]
% 

It would be nice if those processes could be killed when flushing sockets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions