search for: mux_command

Displaying 5 results from an estimated 5 matches for "mux_command".

Did you mean: mix_command
2005 Mar 04
1
[PATCH] controlling remote port forwarding over control path
...dd a new remote forwarding or ssh -S ~/.ssh/ctl -O cancel-rforward localhost:2000 localhost to remove it. The patch is against openssh-SNAP-20050302 so the new fine tuned forwarding code is already contained. While working on the patch a few questions/inconveniences have emerged: 1) why is mux_command in ssh.c not part of Options? 2) the current implementation allows -O to occur only once. So, to add or remove multiple channels ssh has to be called multiple times. Would it make sense to extend the code to allow it to occur multiple times? ssh -S ~/.ssh/ctl \ -O add-rforward 2000:forw...
2007 Aug 03
1
race condition with ControlMaster=auto
...h_session2_open(); @@ -1319,7 +1323,13 @@ switch (options.control_master) { case SSHCTL_MASTER_AUTO: case SSHCTL_MASTER_AUTO_ASK: - debug("auto-mux: Trying existing master"); + /* see if we can create a control master socket + to avoid a race between two auto clients */ + if (mux_command == SSHMUX_COMMAND_OPEN && + ssh_control_listener(1)) + return; + debug("trying to connect to control master socket %s", + options.control_path); /* FALLTHROUGH */ case SSHCTL_MASTER_NO: break; @@ -1452,6 +1462,8 @@ signal(SIGINT, control_client_sighandler);...
2005 Mar 05
2
[Bug 993] adding and removing forwardings via the control connection
...dd a new remote forwarding or ssh -S ~/.ssh/ctl -O cancel-rforward localhost:2000 localhost to remove it. The patch is against openssh-SNAP-20050302 so the new fine tuned forwarding code is already contained. While working on the patch a few questions/inconveniences have emerged: 1) why is mux_command in ssh.c not part of Options? 2) the current implementation allows -O to occur only once. So, to add or remove multiple channels ssh has to be called multiple times. Would it make sense to extend the code to allow it to occur multiple times? ssh -S ~/.ssh/ctl \ -O add-rforward 2000:forw...
2010 Jan 14
1
ssh(1) multiplexing rewrite
...h 14 Jan 2010 03:07:49 -0000 @@ -56,7 +56,7 @@ typedef void global_confirm_cb(int, u_in void client_register_global_confirm(global_confirm_cb *, void *); /* Multiplexing protocol version */ -#define SSHMUX_VER 2 +#define SSHMUX_VER 4 /* Multiplexing control protocol flags */ #define SSHMUX_COMMAND_OPEN 1 /* Open new connection */ @@ -71,3 +71,4 @@ void client_register_global_confirm(glo void muxserver_listen(void); int muxserver_accept_control(void); void muxclient(const char *); +void mux_exit_message(Channel *, int); Index: mux.c =======================================================...
2009 Jul 08
4
Feature request: "SetupCommand" invoked before connecting
Hi, (I'm not subscribed to the list, so please CC me on reply.) I'd like to request adding a feature to OpenSSH: Task: ~~~~~ It is quite sometime useful to invoke a program prior to connecting to an ssh server. The most common use case will probably be port knocking. That is a small program sends certain packets to a server and the server reacts to this by unlocking the ssh port, which