search for: sshctl_master_no

Displaying 9 results from an estimated 9 matches for "sshctl_master_no".

2007 Aug 03
1
race condition with ControlMaster=auto
...:17 2007 +++ ssh.c Fri Aug 3 19:21:18 2007 @@ -1045,18 +1045,19 @@ } } -static void -ssh_control_listener(void) +static int +ssh_control_listener(int test) { struct sockaddr_un addr; mode_t old_umask; int addr_len; if (options.control_path == NULL || - options.control_master == SSHCTL_MASTER_NO) - return; + options.control_master == SSHCTL_MASTER_NO || + control_fd != -1) + return 1; - debug("setting up multiplex master socket"); + debug("trying to set up multiplex master socket"); memset(&addr, '\0', sizeof(addr)); addr.sun_family = AF_UN...
2012 Apr 27
2
[PATCH] mux: fix memory leak of control path if bind() fails
...a/mux.c b/mux.c index d90605e..fa796bd 100644 --- a/mux.c +++ b/mux.c @@ -1195,6 +1195,7 @@ muxserver_listen(void) close(muxserver_sock); muxserver_sock = -1; } + xfree(orig_control_path); xfree(options.control_path); options.control_path = NULL; options.control_master = SSHCTL_MASTER_NO; @@ -1216,7 +1217,6 @@ muxserver_listen(void) } error("ControlSocket %s already exists, disabling multiplexing", orig_control_path); - xfree(orig_control_path); unlink(options.control_path); goto disable_mux_master; } -- 1.7.9.rc0.542.g07ca1
2010 Jan 14
1
ssh(1) multiplexing rewrite
...atic Channel *mux_listener_channel = NULL; -/* ** Multiplexing master support */ - -/* Prepare a mux master to listen on a Unix domain socket. */ -void -muxserver_listen(void) -{ - struct sockaddr_un addr; - mode_t old_umask; - - if (options.control_path == NULL || - options.control_master == SSHCTL_MASTER_NO) - return; - - debug("setting up multiplex master socket"); - - memset(&addr, '\0', sizeof(addr)); - addr.sun_family = AF_UNIX; - addr.sun_len = offsetof(struct sockaddr_un, sun_path) + - strlen(options.control_path) + 1; +struct mux_master_state { + enum { MUX_HELLO_SEND...
2013 Oct 07
4
Feature request: FQDN Host match
Hello! I'm hoping that Gmail won't HTML format this mail so that I'll get flamed :) Anyway, my question relates to ssh_config. The problem I find is that the Host pattern is only applied to the argument given on the command line, as outlined in the man page: "The host is the hostname argument given on the command line (i.e. the name is not converted to a canonicalized host name
2010 Jan 12
2
[patch] Automatically add keys to agent
...os/src/usr.bin/ssh/readconf.h,v retrieving revision 1.81 diff -u -N -p readconf.h --- readconf.h 9 Jan 2010 23:04:13 -0000 1.81 +++ readconf.h 11 Jan 2010 22:19:18 -0000 @@ -125,6 +125,8 @@ typedef struct { int use_roaming; + int add_key; /* add keys to agent */ + } Options; #define SSHCTL_MASTER_NO 0 Index: ssh-agent.1 =================================================================== RCS file: /usr/obsd-repos/src/usr.bin/ssh/ssh-agent.1,v retrieving revision 1.49 diff -u -N -p ssh-agent.1 --- ssh-agent.1 22 Oct 2009 15:02:12 -0000 1.49 +++ ssh-agent.1 11 Jan 2010 23:39:47 -0000 @@ -109,6 +1...
2007 Jul 05
14
[Bug 1329] New: stale control sockets prevent connection.
http://bugzilla.mindrot.org/show_bug.cgi?id=1329 Summary: stale control sockets prevent connection. Product: Portable OpenSSH Version: 4.6p1 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: bitbucket at mindrot.org ReportedBy: dwmw2 at
2011 Jan 07
1
[RFC/PATCH] ssh: config directive to modify the local environment
...he operation. */ +} EnvMod; /* Data structure for representing option data. */ #define MAX_SEND_ENV 256 @@ -132,6 +139,10 @@ typedef struct { int use_roaming; + /* Changes to the local envirionment */ + int num_local_env_mods; + EnvMod *local_env_mods; + } Options; #define SSHCTL_MASTER_NO 0 diff --git a/regress/Makefile b/regress/Makefile index 85fd3a5..b5724f8 100644 --- a/regress/Makefile +++ b/regress/Makefile @@ -51,6 +51,7 @@ LTESTS= connect \ cfgmatch \ addrmatch \ localcommand \ + localenvmod \ forcecommand \ portnum \ keytype \ @@ -76,7 +77,8 @@ CLEANFILE...
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
2008 Aug 27
1
5.1p1 doesn't work, 5.0p1 works fine
5.1p1 disconnects after the password prompt when connecting to my router and UPS. 5.1p1 connects fine to other unix hosts, and my Windows client connects fine to 5.1p1 servers. 5.0p1 works fine everywhere. I've tried ssh -T, ssh -t, permutations with ssh -o Compression=no -o TCPKeepAlive=no, etc, to no avail. I've used the default ssh_config file, and it still fails. Can anyone