Displaying 9 results from an estimated 9 matches for "mux_client_request_session".
2016 Sep 08
3
[Bug 2612] New: Sporadically need to press <ENTER> for multiplexed connection to finish
...d via a multiplexed connection,
it doesn't finish until I hit <ENTER>. Most of the times it terminates
normally. This occurs approximately 1 out of 10 times. This affects the
usage of multiplexed connections in scripts.
Adding -vvv to the "slave" connection shows:
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 5485
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 3
<Have to hit ENTER here>
debug3: mux_client_read_pac...
2016 Apr 14
2
(rfc) too many keys, usecase?
...mote host:
# /usr/sbin/sshd -T | egrep permitroot
permitrootlogin yes
Attempting:
$ ssh root@<remotehost>
shows:
Received disconnect from <remotehost> port 22:2: Too many authentication failures for root
packet_write_wait: Connection to <remotehost> port 22: Broken pipe
mux_client_request_session: read from master failed: Broken pipe
Failed to connect to new control master
Yes, I do have a few keys in ~/.ssh and use ControlMaster:
debug1: Offering RSA public key: <userhomedir>/.ssh/id_rsa
debug1: Offering RSA public key: <userhomedir>/.ssh/id_rsa
debug1: Offering RSA publi...
2019 Jun 27
2
Does ssh need sendfd in pledge() call?
...xtra:-2
debug3: mux_master_read_cb: channel 1 packet type 0x10000006 len 92
debug2: mux_master_process_open_fwd: channel 1: request remote forward /home/tbrown/.gnupg/S.gpg-agent:-2 -> /home/tbrown/.gnupg/S.gpg-agent.extra:-2
debug2: mux_master_process_open_fwd: found existing forwarding
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4
debug2: mux_master_process_alive_check: channel 1: alive check
debug3: mux_client_request_alive: done pid = 806
debug3: mux_master_read_cb: channel 1 packet type 0x10000002 len 57...
2011 Jan 13
2
[PATCH] mux: update PROTOCOL.mux and fix error messages on client side
...et_string(&m, NULL);
buffer_free(&m);
- error("%s: session request failed: %s", __func__, e);
+ error("%s: forwarding request failed: %s", __func__, e);
return -1;
default:
fatal("%s: unexpected response from master 0x%08x",
@@ -1649,12 +1649,12 @@ mux_client_request_session(int fd)
case MUX_S_PERMISSION_DENIED:
e = buffer_get_string(&m, NULL);
buffer_free(&m);
- error("Master refused forwarding request: %s", e);
+ error("Master refused session request: %s", e);
return -1;
case MUX_S_FAILURE:
e = buffer_get_string(&m, N...
2016 Aug 17
4
[Portable OpenSSH] hang up during login after OpenSSH 7.3 upgrade
...rol_persist_exit_time: cancel scheduled exit
debug3: mux_master_read_cb: channel 1 packet type 0x00000001 len 4
debug2: process_mux_master_hello: channel 1 slave version 4
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_master_read_cb: channel 1 packet type 0x10000004 len 4
debug2: process_mux_alive_check: channel 1: alive check
debug3: mux_client_request_alive: done pid = 1261
debug3: mux_client_request_session: session request sent
debug3: mux_mast...
2020 Oct 06
5
[Bug 3220] New: Possible bug if ControlMaster + ControlPersist and `-t`
...: new [mux-control]
debug1: channel 2: new [client-session]
debug1: client_input_global_request: rtype hostkeys-00 at openssh.com
want_reply 0
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Requesting authentication agent forwarding.
debug1: Sending environment.
...
debug1: mux_client_request_session: master session id: 2
As a result, I would suggest that the above code should be fixed to
emit
the message at level debug1 only AND the actual message content should
be fixed, too.
Note that the actual verbose output already says during disconnect
...
debug1: client_input_channel_req: channel 2 r...
2016 Apr 14
2
(rfc) too many keys, usecase?
...empting:
> >
> > $ ssh root@<remotehost>
> >
> > shows:
> >
> > Received disconnect from <remotehost> port 22:2: Too many authentication failures for root
> > packet_write_wait: Connection to <remotehost> port 22: Broken pipe
> > mux_client_request_session: read from master failed: Broken pipe
> > Failed to connect to new control master
> >
> > Yes, I do have a few keys in ~/.ssh and use ControlMaster:
> >
> > debug1: Offering RSA public key: <userhomedir>/.ssh/id_rsa
> > debug1: Offering RSA public key: &...
2015 Nov 29
22
[Bug 2511] New: Drop fine-grained privileges on Illumos/Solaris
https://bugzilla.mindrot.org/show_bug.cgi?id=2511
Bug ID: 2511
Summary: Drop fine-grained privileges on Illumos/Solaris
Product: Portable OpenSSH
Version: 7.1p1
Hardware: Other
OS: Solaris
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: unassigned-bugs
2010 Jan 14
1
ssh(1) multiplexing rewrite
...t; options.num_remote_forwards; i++) {
+ if (mux_client_request_forward(fd, MUX_FWD_REMOTE,
+ options.remote_forwards + i) != 0)
+ return -1;
}
+ return 0;
+}
- /*
- * Mux errors are non-recoverable from this point as the master
- * has ownership of the session now.
- */
+static int
+mux_client_request_session(int fd)
+{
+ Buffer m;
+ char *e, *term;
+ u_int i, exitval, type, exitval_seen;
+ extern char **environ;
+ int devnull;
+
+ debug3("%s: entering", __func__);
+
+ if ((muxserver_pid = mux_client_request_alive(fd)) == 0) {
+ error("%s: master alive request failed", __func__);
+...