mirror of git://anongit.mindrot.org/openssh.git
- Tidied default config file some more
- Revised Redhat initscript to fix bug: sshd (re)start would fail if executed from inside a ssh login.
This commit is contained in:
parent
2cb210f0f7
commit
192bd0120a
|
@ -1,6 +1,7 @@
|
|||
19991113
|
||||
- Don't install config files if they already exist
|
||||
- Fix inclusion of additional preprocessor directives from acconfig.h
|
||||
- Build patch from Niels Kristian Bech Jensen <nkbj@image.dk>
|
||||
- Don't install config files if they already exist
|
||||
- Fix inclusion of additional preprocessor directives from acconfig.h
|
||||
- Removed redundant inclusions of config.h
|
||||
- Added 'Obseletes' lines to RPM spec file
|
||||
- Merged OpenBSD CVS changes:
|
||||
|
@ -11,6 +12,9 @@
|
|||
have been initialised. Patch from Jani Hakala <jahakala@cc.jyu.fi>
|
||||
- Added shadow password patch from Thomas Neumann <tom@smart.ruhr.de>
|
||||
- Added ifdefs to auth-passwd.c to exclude it when PAM is enabled
|
||||
- Tidied default config file some more
|
||||
- Revised Redhat initscript to fix bug: sshd (re)start would fail
|
||||
if executed from inside a ssh login.
|
||||
|
||||
19991112
|
||||
- Merged changes from OpenBSD CVS
|
||||
|
|
|
@ -20,16 +20,17 @@ RETVAL=0
|
|||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting sshd: "
|
||||
daemon /usr/sbin/sshd
|
||||
RETVAL=$?
|
||||
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/sshd
|
||||
if [ ! -f /var/run/sshd.pid ] ; then
|
||||
/usr/sbin/sshd && success "sshd startup" || failure "sshd startup"
|
||||
RETVAL=$?
|
||||
fi
|
||||
echo
|
||||
;;
|
||||
stop)
|
||||
echo -n "Shutting down sshd: "
|
||||
killproc sshd
|
||||
RETVAL=$?
|
||||
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sshd
|
||||
if [ -f /var/run/sshd.pid ] ; then
|
||||
killproc sshd
|
||||
fi
|
||||
echo
|
||||
;;
|
||||
restart)
|
||||
|
|
16
sshd_config
16
sshd_config
|
@ -7,15 +7,6 @@ ServerKeyBits 768
|
|||
LoginGraceTime 600
|
||||
KeyRegenerationInterval 3600
|
||||
PermitRootLogin yes
|
||||
|
||||
#
|
||||
# Loglevel replaces QuietMode and FascistLogging
|
||||
#
|
||||
SyslogFacility AUTH
|
||||
LogLevel INFO
|
||||
|
||||
#
|
||||
# Don't read ~/.rhosts and ~/.shosts files
|
||||
StrictModes yes
|
||||
X11Forwarding no
|
||||
X11DisplayOffset 10
|
||||
|
@ -23,8 +14,12 @@ PrintMotd yes
|
|||
KeepAlive yes
|
||||
CheckMail no
|
||||
UseLogin no
|
||||
|
||||
#
|
||||
# Loglevel replaces QuietMode and FascistLogging
|
||||
#
|
||||
SyslogFacility AUTH
|
||||
RhostsAuthentication no
|
||||
LogLevel INFO
|
||||
|
||||
#
|
||||
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
|
||||
|
@ -35,6 +30,7 @@ RhostsRSAAuthentication no
|
|||
# Don't read ~/.rhosts and ~/.shosts files
|
||||
#
|
||||
IgnoreRhosts yes
|
||||
RhostsAuthentication no
|
||||
|
||||
#
|
||||
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
|
||||
|
|
Loading…
Reference in New Issue