Displaying 20 results from an estimated 30 matches for "read_server_config".
Did you mean:
load_server_config
2003 Sep 16
1
Problems with 3.7p1 on IRIX 6.5
...9 (Bad file number)
15mS sshd(3639808): shutdown(4, 2) OK
15mS sshd(3639808): close(4) OK
15mS sshd(3639808): prctl(PR_LASTSHEXIT) = 1
15mS (3664039): was sent signal SIGCLD
If I run sshd in debug mode:
$ sshd -p 8022 -D -d -d
debug2: read_server_config: filename /etc/opt/fsw/openssh37/sshd_config
debug1: sshd version OpenSSH_3.7p1
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: Bind to port 8022 on 0.0.0.0....
2001 Jan 04
2
Patch to allow openssh-2.2.0-p1 to be started from /etc/inittab
...52,558 ****
log_init(av0,
options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level,
options.log_facility == -1 ? SYSLOG_FACILITY_AUTH : options.log_facility,
! !silent && !inetd_flag);
/* Read server configuration options from the configuration file. */
read_server_config(&options, config_file_name);
--- 552,558 ----
log_init(av0,
options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level,
options.log_facility == -1 ? SYSLOG_FACILITY_AUTH : options.log_facility,
! !silent && !inetd_flag && getppid() != 1);
/* Read...
2003 Sep 17
3
[Bug 665] sshd doesn't work on Mac OS X
...it
definitely is broken. In particular, when ssh'ing to localhost, my server dies with this message:
[...]
debug3: privsep user:group 75:75
debug1: permanently_set_uid: 75/75
setuid 75: Operation not permitted
debug1: Calling cleanup 0x25008(0x0)
The full output:
root# sshd -d -d -d
debug2: read_server_config: filename /sw/etc/ssh/sshd_config
debug1: sshd version OpenSSH_3.7.1p1
Could not load host key: /sw/etc/ssh/ssh_host_key
Could not load host key: /sw/etc/ssh/ssh_host_rsa_key
debug3: Not a RSA1 key file /sw/etc/ssh/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host k...
2010 Sep 03
1
[PATCH] New '-o' option to configure server or hosts from command line
...fg = new_config();
- cfg->variable = xstrdup(variable);
- cfg->value = xstrdup(value);
- cfg->file = xstrdup(fname);
- cfg->line = lineno;
-
config_add(config_tree, cfg);
}
@@ -317,9 +336,20 @@ bool read_config_file(avl_tree_t *config_tree,
const char *fname) {
}
bool read_server_config() {
+ list_node_t *node, *next;
char *fname;
bool x;
+ for(node = cmdline_conf->tail; node; node = next) {
+ config_t *cfg = (config_t *)node->data;
+ next = node->prev;
+ if (!strchr(cfg->variable, '.')) {
+ config_add(config_tree, cfg);
+ node->data = NULL;
+...
2008 Sep 15
0
No subject
...ssh_get_programme
after init_rng
before xmalloc
after xmalloc
before initiliase serveroptions
in initilise sever options
after initiliase serveroptions
before ssleay add algorithms
after ssleay add algorithms
in channel set
before log init
after log init
before seed_rng
after seed_rng
before read_server_config
after read_server_config
?before fill_default_server_options
after fill_default_server_options
sshd version OpenSSH_3.7.1p2
before lodaing private keys
?after lodaing private keys
?after lodaing private keys
options.host_key_files[i]=/etc/ssh/ssh_host_rsa_key
?in key_load_private
?before key_load_p...
2008 Sep 18
2
SSHD_PROBLEM
...ssh_get_programme
after init_rng
before xmalloc
after xmalloc
before initiliase serveroptions
in initilise sever options
after initiliase serveroptions
before ssleay add algorithms
after ssleay add algorithms
in channel set
before log init
after log init
before seed_rng
after seed_rng
before read_server_config
after read_server_config
before fill_default_server_options
after fill_default_server_options
sshd version OpenSSH_3.7.1p2
before lodaing private keys
after lodaing private keys
after lodaing private keys
options.host_key_files[i]=/etc/ssh/ssh_host_rsa_key
in key_load_private
before key_load_p...
2003 Sep 09
6
3.6p2 build errors on buffer_get with latest portable/SNAP
Tried the user discussion list to no avail, can't get 3.6.p2
portable running due to buffer_get errors. Does the
latest portable SNAP incorporate the latest patches?
Running Red Hat 8.0
AS SHIPPED
/usr/sbin/sshd
...
cool, listens on 22 with 3.4p1
WITH 3.6.1p2
./configure
make
make install
...
/usr/local/sbin/sshd -t -f /usr/local/etc/sshd_config
buffer_get: trying to get more bytes 1 than
2005 Oct 15
1
help with openssh
...a -f /etc/ssh/ssh_host_rsa_key
then I went on to generate the DSA key too....(just incase my SSHD does not
like RSA).
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
and then I ran
root at 00_00_09_PECA_NP1:/usr/bin# sshd -d -d -d -d -d -d -d -d -d
debug3: RNG is ready, skipping seeding
debug2: read_server_config: filename /etc/ssh/sshd_config
debug1: sshd version OpenSSH_3.7.1p2
debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key.
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Could not load host key: /etc/ssh/ssh_host_rsa_key
debug3: Not a RSA1 key file /etc/s...
2004 Jan 09
2
IPv6 broken under AIX?
...ess. If I configure sshd to listen to an IPv6 address
it will take the uppermost 32 bits of the IPv6 address and interpret it
as an IPv4 address.
sshd_config:
------------
ListenAddress [2001:6b0:b:1::133]
ListenAddress 130.238.4.133
ListenAddress 172.17.1.2
$ /usr/nbin/sshd -d -d -d
debug2: read_server_config: filename /usr/libdata/etc/sshd_config
debug1: sshd version OpenSSH_3.7.1p2
debug3: Not a RSA1 key file /usr/libdata/etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #0 type 2 DSA
debug1: Bind to port 22 on 172.17.1.2.
Server listening on 172.17.1.2 port 2...
2003 Sep 16
4
openbsd-compat/inet_ntoa.h missing from 3.7p1?
On IRIX 6.5:
cc -Wl,-woff,84 -Wl,-woff,85 -woff 1429 -O2
-I/opt/TWWfsw/tcpwrap/include -I. -I.. -I. -I./..
-I/opt/TWWfsw/libopenssl097s/include -I/opt/TWWfsw/zlib11s/include
-DHAVE_CONFIG_H -c inet_ntoa.c
cc-1035 cc: WARNING File = /usr/include/stdint.h, Line = 5
#error directive: This header file is to be used only for c99 mode
compilations
#error This header file is to be used
2003 Sep 17
8
[Bug 657] Priv seperation causes setreuid error
http://bugzilla.mindrot.org/show_bug.cgi?id=657
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Priv seperation causes |Priv seperation causes
|segfault |setreuid error
------- Additional Comments From dtucker at
2003 Jul 11
0
OpenSSH 3.6.1p2 +UnixWare 7.1.1 +SSH2 + PasswordAuthenticatio n no + PermitEmptyPasswords yes (followup)
...nd only one reference to userauth()
> > in sshconnect2.c (line 279)
> >
> > I do not understand the code m->userauth(authctxt);
> >
uw7: /usr/udd1/dev/original/openssh-3.6.1p2 # ./sshd -p 5000 -d -d -d
debug3: Seeding PRNG from /usr/local/libexec/ssh-rand-helper
debug2: read_server_config: filename /etc/ssh/sshd_config
debug1: sshd version OpenSSH_3.6.1p2
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: Bind to port 5000 on ::.
debug1: Bind to po...
2003 Jul 17
1
possible bug + patch : OpenSSH 3.6.1p2 +UnixWare 7.1.1 +SSH2 + P asswordAuthentication no + PermitEmptyPasswords yes
...the user to log
into an account with an empty password) returns 1 only if
PasswordAuthentication is set to "yes".
complete debug of problem below:
uw7: /usr/udd1/dev/original/openssh-3.6.1p2 # ./sshd -p 5000 -d -d -d
debug3: Seeding PRNG from /usr/local/libexec/ssh-rand-helper
debug2: read_server_config: filename /etc/ssh/sshd_config
debug1: sshd version OpenSSH_3.6.1p2
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: Bind to port 5000 on ::.
debug1: Bind to po...
2002 Jan 29
2
Key fingerprint logging
...ue Jan 29 15:19:29 2002
@@ -128,10 +128,12 @@
char *authorized_keys_file; /* File containing public keys */
char *authorized_keys_file2;
int pam_authentication_via_kbd_int;
+ int log_key_fingerprint;
+
} ServerOptions;
void initialize_server_options(ServerOptions *);
void read_server_config(ServerOptions *, const char *);
void fill_default_server_options(ServerOptions *);
diff -u5 openssh-3.0.2p1.orig/sshd.8 openssh-3.0.2p1/sshd.8
--- openssh-3.0.2p1.orig/sshd.8 Sun Dec 2 00:37:08 2001
+++ openssh-3.0.2p1/sshd.8 Tue Jan 29 15:12:08 2002
@@ -606,10 +606,15 @@
.It Cm LoginGraceTime...
2003 Oct 05
2
OpenSSH Authentication on Solaris w/ NIS+ Problem
...----------------------------------------------------------------------
Here is what it looks like when I use a Windows SSH client (with IP addresses changed to protect the innocent):
bash-2.03# /usr/openssh/sbin/sshd -d -d -d
debug3: Seeding PRNG from /usr/openssh/libexec/ssh-rand-helper
debug2: read_server_config: filename /usr/openssh/etc/sshd_config
debug1: sshd version OpenSSH_3.7.1p2
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /usr/openssh/etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug3: Not a RSA1 key file /usr/op...
2003 Sep 17
5
problems with 3.7.1p1 on IRIX (again)
Hi,
I've seen a few messages re. problems with 3.7.1p1 on IRIX 6.5...
I'm using 6.5.19 and having no trouble compiling, installing and
starting, but sshd just closes the connection with no explanation.
debug/verbose modes don't seem to give any clues.
Darren Tucker suggested defining BROKEN_GETADDRINFO in config.h,
but I find that compilation then fails (assuming I've implemented
2003 Sep 24
2
sshd terminates a session after a successful login
...to this list.
Thanks in advance,
Ken Monville
(I'm running the new version on port 2200 for testing purposes, I have the
same result if it's on port 22 as well.)
IRIX sshd 3.7.1p2 output:
{root at dsm1} /etc/ssh2 % /usr/local/openssh-3.7.1p2/sbin/sshd -dd -f
/etc/ssh2/sshd_config
debug2: read_server_config: filename /etc/ssh2/sshd_config
debug1: sshd version OpenSSH_3.7.1p2
debug1: read PEM private key done: type DSA
debug1: private host key: #0 type 2 DSA
debug1: Bind to port 2200 on 0.0.0.0.
Server listening on 0.0.0.0 port 2200.
debug1: Server will not fork when running in debugging mode.
Connecti...
2003 Sep 17
5
openssh-3.7.1p1 segfaults
...There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.6"...
(gdb) run -d -d -d
Starting program: /usr/LOCAL/src/openssh-3.7.1p1/sshd -d -d -d
debug3: Seeding PRNG from /usr/local/libexec/ssh-rand-helper
debug2: read_server_config: filename /etc/ssh/sshd_config
debug1: sshd version OpenSSH_3.7.1p1
... <snip>
Failed publickey for siegert from 142.58.1.216 port 52124 ssh2
debug1: userauth-request for user siegert service ssh-connection method keyboard-interactive
debug1: attempt 2 failures 2
debug2: input_userauth_reques...
2004 May 09
3
Openssh installation only works for user root
Hi,
I have recently compiled a copy of OpenSSH for use on Reliant Unix ( Sinix )
version 5.45. My installation works okay for user root. When I try to log on
as another user I get prompted for the user password. When I type this in
OpenSSH throws me out each time. I have been able to see any errors.
My version is OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar
2004. I am using Putty
2003 Oct 07
1
[Bug 731] sshd terminates a session after a successful login
...ind any
information online regarding this behavior and am looking for any assistance
possible. Interestingly, OpenSSH-3.6.1p2 works properly in this environment.
-----------------------
# /opt/openssh/sbin/sshd -ddd -p 2022
debug3: Seeding PRNG from /opt/openssh/libexec/ssh-rand-helper
debug2: read_server_config: filename /etc/openssh/sshd_config
debug1: sshd version OpenSSH_3.7.1p2
debug1: private host key: #0 type 0 RSA1
debug3: Not a RSA1 key file /etc/openssh/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #1 type 1 RSA
debug3: Not a RSA1 key file /etc/openssh/ss...