Displaying 20 results from an estimated 53 matches for "parse_server_config".
2006 Mar 29
7
sshd config parser
Hi All.
For various reasons, we're currently looking at extending (or even
overhauling) the config parser used for sshd_config.
Right now the syntax I'm looking at is a cumulative "Match" keyword that
matches when all of the specified criteria are met. This would be
similar the the Host directive used in ssh_config, although it's still
limiting (eg you can't easily
2011 Sep 25
0
sshd 5.6p1 does not accept connections in fips mode
...d find. Are there any fips
patches for openssh 5.7, 5.8 or 5.9?
Thanks
Mats Tande
Here's what sshd says:
root at nougat /local/fips $ /local/fips/sbin/sshd -Dedddp2222
debug2: load_server_config: filename /local/fips/etc/sshd_config
debug2: load_server_config: done config len = 164
debug2: parse_server_config: config /local/fips/etc/sshd_config len 164
debug3: /local/fips/etc/sshd_config:111 setting Subsystem sftp
/local/fips/libexec/sftp-server
***IN FIPS MODE***
debug1: sshd version OpenSSH_5.6p1
debug3: Not a RSA1 key file /local/fips/etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA...
2017 Jan 23
2
Open SSH public key setup not working on windows 2012
...locks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug1: userauth-request for user agshah service ssh-connection method none
debug1: attempt 0 failures 0
debug2: parse_server_config: config reprocess config len 561
debug2: input_userauth_request: setting up authctxt for agshah
debug1: userauth_send_banner: sent
debug2: input_userauth_request: try method none
Failed none for user2 from 10.109.136.24 port 28409 ssh2
debug1: userauth-request for user user2 service ssh-connection...
2014 May 16
2
? about portable version of sshd crashing
...ebug output at the end of this email.
Any advice on where to start debugging this is most appreciated.
Thanks.
-brad w.
/bin # /usr/sbin/sshd -D -ddd -f /etc/ssh/sshd_config -p 65
debug2: load_server_config: filename /etc/ssh/sshd_config
debug2: load_server_config: done config len = 852
debug2: parse_server_config: config /etc/ssh/sshd_config len 852
debug3: /etc/ssh/sshd_config:18 setting AddressFamily inet
debug3: /etc/ssh/sshd_config:21 setting ListenAddress 192.168.0.2
debug3: /etc/ssh/sshd_config:27 setting HostKey /etc/ssh/ssh_host_key
debug3: /etc/ssh/sshd_config:29 setting HostKey /etc/ssh/ssh_host_r...
2006 Feb 14
15
[Bug 1131] buffer_append_space: alloc not supported Error with V 4.2p1
http://bugzilla.mindrot.org/show_bug.cgi?id=1131
------- Comment #5 from dtucker at zip.com.au 2006-02-14 22:17 -------
Also, what compiler did you use to compile OpenSSH? If you compile OpenSSH
(and openssl and zlib if possible) with optimization disabled (-O0) does the
error still occur?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are
2012 May 17
2
New Subsystem criteria for Match option block in OpenSSH server
...value = match_cfg_line(&cp, linenum, conninfo);
>
1454,1455c1492
< parse_server_match_config(ServerOptions *options, const char *user,
< const char *host, const char *address)
---
> parse_server_match_config(ServerOptions *options, ConnectionInfo
> *conninfo)
1460c1497
< parse_server_config(&mo, "reprocess config", &cfg, user, host,
address);
---
> parse_server_config(&mo, "reprocess config", &cfg, conninfo);
1463a1501,1536
> int
> parse_server_match_testspec(ConnectionInfo *ci, char *spec)
> {
> char *p;
>
> while ((p = str...
2017 Oct 04
5
X11forwarding yes: how to debug/setup after xauth fix
I do not often use X11 - but when I do I prefer to enable X11forwarding,
and when finished - turn it off. This is preferable, imho, to having
"clear" X11 processing when local - and otherwise impossible when
working remote.
Working with openssh-7.5p2 I cannot figure out what (extra) I need to do
with sshd_config to get it working.
I know that there is a security-fix starting with
2024 Aug 16
1
[Bug 3718] New: Small memory leak (+patch) in process_server_config_line_depth
...573 of 913
> ==115369== at 0x4845794: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
> ==115369== by 0x124A22: argv_assemble (misc.c:2165)
> ==115369== by 0x1385E5: process_server_config_line_depth.constprop.0 (servconf.c:2004)
> ==115369== by 0x13984D: parse_server_config_depth.constprop.0 (servconf.c:3032)
> ==115369== by 0x139986: parse_server_config.constprop.0 (servconf.c:3049)
> ==115369== by 0x111C6E: main (sshd.c:1445)
Btw, I submitted this also as a PR in github some days ago (see
https://github.com/openssh/openssh-portable/pull/515 ) but since...
2004 Aug 21
1
openssh-unix-dev Digest, Vol 16, Issue 9
...vvv. The debug traces shows that the authentication suceed as
keyboard-interactive.
However the expected output should be "password" . Is it so?
Debug traces:
sshd:
debug2: load_server_config: filename /opt/ssh/etc/sshd_config
debug2: load_server_config: done config len = 331
debug2: parse_server_config: config /opt/ssh/etc/sshd_config len 331
ssh:
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 0
debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug3: ssh_se...
2012 Jan 28
1
PATCH: Support for encrypted host keys
...passphrase));
+ xfree(passphrase);
+ break;
+ }
+ memset(passphrase, 0, strlen(passphrase));
+ xfree(passphrase);
+ debug2("bad passphrase given, try again...");
+ }
+ }
+ return key;
+}
/*
* Main program for the daemon.
@@ -1550,6 +1627,15 @@ main(int ac, char **av)
parse_server_config(&options, rexeced_flag ? "rexec" : config_file_name,
&cfg, NULL, NULL, NULL);
+ /*
+ * parse_server_config() changes options.num_host_key_files,
+ * but we need to change it back to what we received via
+ * recv_rexec_state to accurately reflect the number of keys
+ *...
2007 Mar 22
1
ChallengeResponseAuthentication defaults to no?
Hello,
I have just installed OpenSSH 4.6p1 and it appears that ChallengeResponseAuthentication is not allowed unless I explicitly set it to "yes" in the sshd_config file. I am using the same config file as I did with 4.5p1 where it was allowed by default. Also, this is OpenSSH package from sunfreeware, but I believe that both versions were compiled with the same options.
Is this the
2015 Feb 25
2
Current 6.8 git build issues on HP-UX
On Wed, Feb 25, 2015 at 11:50 AM, Kevin Brott <kevin.brott at gmail.com> wrote:
>
> Interestingly enough if I re-run 'make tests' using HP-UX cc it continues
> into the tests because it actuall did build regress netcat! (not executable
> - but it's there) ...
>
> run test connect.sh ...
> ssh connect with protocol 1 failed
> ssh connect with protocol 2
2016 Aug 03
2
Configure option '--with-ssh1' breaks openssh-7.3p1
...-------- next part --------------
/Data/openssh-7.3p1/DESTDIR/usr/local/sbin/sshd -ddd -p 222 -f /Data/openssh-7.3p1/DESTDIR/usr/local/etc/sshd_config
debug2: load_server_config: filename /Data/openssh-7.3p1/DESTDIR/usr/local/etc/sshd_config
debug2: load_server_config: done config len = 285
debug2: parse_server_config: config /Data/openssh-7.3p1/DESTDIR/usr/local/etc/sshd_config len 285
debug3: /Data/openssh-7.3p1/DESTDIR/usr/local/etc/sshd_config:28 setting HostKey /etc/ssh/ssh_host_rsa_key
debug3: /Data/openssh-7.3p1/DESTDIR/usr/local/etc/sshd_config:29 setting HostKey /etc/ssh/ssh_host_dsa_key
debug3: /Data/o...
2016 Aug 03
2
Configure option '--with-ssh1' breaks openssh-7.3p1
On 08/03/16 02:12, Darren Tucker wrote:
> On Wed, Aug 3, 2016 at 7:42 AM, rl <rainer.laatsch at t-online.de> wrote:
> [...]
>> /Data/openssh-7.3p1/DESTDIR/usr/local/sbin/sshd -p 222 -f \n
>> DESTDIR/usr/local/etc/sshd_config
>
> It looks like you have an embedded newline in the config file name
> you're passing to sshd. If that's the case I'm
2010 Jun 02
1
openssh sftp fails to start a session
...r-x for "others" and that goes for all directories above it.
=============================================================================================
debug2: load_server_config: filename /home/myuser/openssh/ssh/sshd_config
debug2: load_server_config: done config len = 300
debug2: parse_server_config: config /home/myuser/openssh/ssh/sshd_config len 300
debug3: /home/myuser/openssh/ssh/sshd_config:13 setting Port 2022
debug3: /home/myuser/openssh/ssh/sshd_config:19 setting Protocol 2
debug3: /home/myuser/openssh/ssh/sshd_config:33 setting SyslogFacility AUTH
debug3: /home/myuser/openssh/ssh/sshd...
2015 Apr 07
2
OpenSSH 6.6.x sends invalid SSH_MSG_USERAUTH_INFO_REQUEST
...cifics, in the meantime here's the level 3 debug output that he
provided me with (this was previously posted to a public mailing list so I'm
assuming it's not sensitive):
debug2: load_server_config: filename /etc/ssh/sshd_config
debug2: load_server_config: done config len = 188
debug2: parse_server_config: config /etc/ssh/sshd_config len 188
debug3: /etc/ssh/sshd_config:129 setting Subsystem sftp /usr/libexec/sftp-server
debug1: HPN Buffer Size: 65536
debug1: sshd version OpenSSH_6.6.1p1_hpn13v11 FreeBSD-20140420, OpenSSL 1.0.1j-freebsd 15 Oct 2014
debug3: Incorrect RSA1 identifier
debug1: key_parse...
2008 Jan 25
1
OpenSSH for OS/390
...quest_send entering: type 6
debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM
debug3: mm_request_receive_expect entering: type 7
debug3: mm_request_receive entering
debug3: monitor_read: checking request 6
debug3: mm_answer_pwnamallow
debug3: Trying to reverse map address 10.55.27.21.
debug2: parse_server_config: config reprocess config len 209
debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
debug3: mm_request_send entering: type 7
debug2: monitor_read: 6 used once, disabling now
debug3: mm_request_receive entering
mm_getpwnamallow: option block size mismatch
It appears that some of the debuggi...
2017 Oct 12
2
X11forwarding yes: how to debug/setup after xauth fix
...SH2_MSG_CHANNEL_SUCCESS)
> ? 00000000? 00 00 01 00????????????????????????????????????? ....
> ...
>
> Server side:
>
> # /opt/sbin/sshd -dddd
> debug2: load_server_config: filename /var/openssh/etc/sshd_config
> debug2: load_server_config: done config len = 476
> debug2: parse_server_config: config /var/openssh/etc/sshd_config len 476
> debug3: /var/openssh/etc/sshd_config:90 setting X11Forwarding yes
> debug3: /var/openssh/etc/sshd_config:112 setting Subsystem sftp
> /usr/sbin/sftp-server
> debug3: /var/openssh/etc/sshd_config:127 setting ciphers
> aes128-ctr,aes192-...
2012 May 14
14
[Bug 2008] New: IPV6 Bind to port 22 failed
https://bugzilla.mindrot.org/show_bug.cgi?id=2008
Bug #: 2008
Summary: IPV6 Bind to port 22 failed
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.9p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: sshd
AssignedTo:
2007 Aug 14
2
OpenSSH public key problem with Solaris 10 and LDAP users?
...id_rsa
Looks fine, doesn't it? I'm also able to login to other
accounts using this exact key.
Well, but watch this :(
root at winds06 $ /opt/csw/sbin/sshd -p 9991 -Dddd
debug2: load_server_config: filename /opt/csw/etc/sshd_config
debug2: load_server_config: done config len = 198
debug2: parse_server_config: config /opt/csw/etc/sshd_config len 198
debug3: /opt/csw/etc/sshd_config:15 setting Protocol 2
debug3: /opt/csw/etc/sshd_config:79 setting UsePAM yes
debug3: /opt/csw/etc/sshd_config:84 setting X11Forwarding yes
debug3: /opt/csw/etc/sshd_config:88 setting PrintMotd no
debug3: /opt/csw/etc/sshd_con...