- Automatically correct paths in manpages and configuration files. Patch
and script from Andre Lucas <andre.lucas@dial.pipex.com> - Removed credits from README to CREDITS file, updated.
This commit is contained in:
parent
aae1093640
commit
c0d7390398
|
@ -0,0 +1,27 @@
|
||||||
|
Tatu Ylonen <ylo@cs.hut.fi> - Creator of SSH
|
||||||
|
|
||||||
|
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
|
||||||
|
Theo de Raadt, and Dug Song - Creators of OpenSSH
|
||||||
|
|
||||||
|
Andre Lucas <andre.lucas@dial.pipex.com> - Many portability fixes
|
||||||
|
Ben Taylor <bent@clark.net> - Solaris debugging and fixes
|
||||||
|
Chip Salzenberg <chip@valinux.com> - Assorted patches
|
||||||
|
Chris Saia <csaia@wtower.com> - SuSE packaging
|
||||||
|
"Chris, the Young One" <cky@pobox.com> - Password auth fixes
|
||||||
|
Chun-Chung Chen <cjj@u.washington.edu> - RPM fixes
|
||||||
|
Dan Brosemer <odin@linuxfreak.com> - Autoconf support, build fixes
|
||||||
|
David Agraz <dagraz@jahoopa.com> - Build fixes
|
||||||
|
David Rankin <drankin@bohemians.lexington.ky.us> - libwrap fixes
|
||||||
|
Jani Hakala <jahakala@cc.jyu.fi> - Patches
|
||||||
|
Jim Knoble <jmknoble@pobox.com> - Many patches
|
||||||
|
'jonchen' - the original author of PAM support of SSH
|
||||||
|
Juergen Keil <jk@tools.de> - scp bugfixing
|
||||||
|
Kees Cook <cook@cpoint.net> - scp fixes
|
||||||
|
Marc G. Fournier <marc.fournier@acadiau.ca> - Solaris patches
|
||||||
|
Nalin Dahyabhai <nalin.dahyabhai@pobox.com> - PAM environment patch
|
||||||
|
Niels Kristian Bech Jensen <nkbj@image.dk> - Assorted patches
|
||||||
|
Peter Kocks <peter.kocks@baygate.com> - Makefile fixes
|
||||||
|
Phil Hands <phil@hands.com> - Debian scripts, assorted patches
|
||||||
|
Thomas Neumann <tom@smart.ruhr.de> - Shadow passwords
|
||||||
|
Tor-Ake Fransson <torake@hotmail.com> - AIX support
|
||||||
|
Tudor Bosman <tudorb@jm.nu> - MD5 password support
|
|
@ -1,3 +1,8 @@
|
||||||
|
19991227
|
||||||
|
- Automatically correct paths in manpages and configuration files. Patch
|
||||||
|
and script from Andre Lucas <andre.lucas@dial.pipex.com>
|
||||||
|
- Removed credits from README to CREDITS file, updated.
|
||||||
|
|
||||||
19991226
|
19991226
|
||||||
- Enabled utmpx support by default for Solaris
|
- Enabled utmpx support by default for Solaris
|
||||||
- Cleanup sshd.c PAM a little more
|
- Cleanup sshd.c PAM a little more
|
||||||
|
|
14
Makefile.in
14
Makefile.in
|
@ -6,9 +6,14 @@ libexecdir=@libexecdir@
|
||||||
mandir=@mandir@
|
mandir=@mandir@
|
||||||
sysconfdir=@sysconfdir@
|
sysconfdir=@sysconfdir@
|
||||||
|
|
||||||
|
srcdir = @srcdir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH=@srcdir@
|
||||||
|
|
||||||
SSH_PROGRAM=@bindir@/ssh
|
SSH_PROGRAM=@bindir@/ssh
|
||||||
ASKPASS_LOCATION=@libexecdir@/ssh
|
ASKPASS_LOCATION=@libexecdir@/ssh
|
||||||
ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass
|
ASKPASS_PROGRAM=$(ASKPASS_LOCATION)/ssh-askpass
|
||||||
|
FIXPATHS=@top_srcdir@/fixpaths
|
||||||
|
|
||||||
CC=@CC@
|
CC=@CC@
|
||||||
PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\"
|
PATHS=-DETCDIR=\"$(sysconfdir)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DSSH_ASKPASS_DEFAULT=\"$(ASKPASS_PROGRAM)\"
|
||||||
|
@ -43,7 +48,7 @@ LIBOBJS= atomicio.o authfd.o authfile.o bsd-daemon.o bsd-mktemp.o \
|
||||||
radix.o readpass.o rsa.o tildexpand.o ttymodes.o uidswap.o \
|
radix.o readpass.o rsa.o tildexpand.o ttymodes.o uidswap.o \
|
||||||
xmalloc.o
|
xmalloc.o
|
||||||
|
|
||||||
all: $(OBJS) $(TARGETS)
|
all: $(OBJS) $(TARGETS) manpages
|
||||||
|
|
||||||
$(OBJS): config.h
|
$(OBJS): config.h
|
||||||
|
|
||||||
|
@ -80,7 +85,12 @@ gnome-ssh-askpass: gnome-ssh-askpass.c
|
||||||
$(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS)
|
$(CC) $(CFLAGS) $(GNOME_CFLAGS) -o $@ gnome-ssh-askpass.c $(GNOME_LIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o core $(TARGETS) config.status config.cache config.log
|
rm -f $(OBJS) $(TARGETS) config.status config.cache config.log core \
|
||||||
|
*.1 *.8 sshd_config ssh_config
|
||||||
|
|
||||||
|
manpages:
|
||||||
|
$(FIXPATHS) -Dsysconfdir=${sysconfdir} $(srcdir)/*.1.in $(srcdir)/*.8.in \
|
||||||
|
$(srcdir)/ssh_config.in $(srcdir)/sshd_config.in
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
$(INSTALL) -d $(bindir)
|
$(INSTALL) -d $(bindir)
|
||||||
|
|
16
README
16
README
|
@ -50,22 +50,6 @@ Solaris support have already been included.
|
||||||
Damien Miller <djm@ibs.com.au>
|
Damien Miller <djm@ibs.com.au>
|
||||||
Internet Business Solutions
|
Internet Business Solutions
|
||||||
|
|
||||||
Credits -
|
|
||||||
|
|
||||||
Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos,
|
|
||||||
Theo de Raadt, and Dug Song - Creators of OpenSSH
|
|
||||||
'jonchen' - the original author of PAM support of SSH
|
|
||||||
Ben Taylor <bent@clark.net> - Solaris debugging and fixes
|
|
||||||
Chip Salzenberg <chip@valinux.com> - Assorted patches
|
|
||||||
Chris Saia <csaia@wtower.com> - SuSE packaging
|
|
||||||
Dan Brosemer <odin@linuxfreak.com> - Autoconf and build fixes & Debian scripts
|
|
||||||
Jim Knoble <jmknoble@pobox.com> - RPM spec file fixes
|
|
||||||
Marc G. Fournier <marc.fournier@acadiau.ca> - Solaris patches
|
|
||||||
Nalin Dahyabhai <nalin.dahyabhai@pobox.com> - PAM environment patch
|
|
||||||
Niels Kristian Bech Jensen <nkbj@image.dk> - Assorted patches
|
|
||||||
Phil Hands <phil@hands.com> - Debian scripts, assorted patches
|
|
||||||
Thomas Neumann <tom@smart.ruhr.de> - Shadow passwords
|
|
||||||
Tudor Bosman <tudorb@jm.nu> - MD5 password support
|
|
||||||
|
|
||||||
Miscellania -
|
Miscellania -
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
#!/usr/bin/perl -w
|
||||||
|
#
|
||||||
|
# fixpaths - substitute makefile variables into text files
|
||||||
|
|
||||||
|
|
||||||
|
$usage = "Usage: $0 [-D<variable>=<value>] [[infile] ...]\n";
|
||||||
|
|
||||||
|
if (!defined(@ARGV)) { die ("$usage"); }
|
||||||
|
|
||||||
|
# read in the command line and get some definitions
|
||||||
|
while ($_=$ARGV[0], /^-/) {
|
||||||
|
if (/^-D/) {
|
||||||
|
# definition
|
||||||
|
shift(@ARGV);
|
||||||
|
if ( /-D(.*)=(.*)/ ) {
|
||||||
|
$def{"$1"}=$2;
|
||||||
|
} else {
|
||||||
|
die ("$usage$0: error in command line arguments.\n");
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
&usage; die ("$usage$0: unknown option '-".$ARGV[0][1]."'\n");
|
||||||
|
}
|
||||||
|
} # while parsing arguments
|
||||||
|
|
||||||
|
if (!defined(%def)) {
|
||||||
|
die ("$0: nothing to do - no substitutions listed!\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
for $f (@ARGV) {
|
||||||
|
|
||||||
|
$f =~ /(.*\/)*(.*)$/;
|
||||||
|
$of = $2; $of =~ s/.in$//;
|
||||||
|
|
||||||
|
print("Making substitutions for $of\n");
|
||||||
|
|
||||||
|
open(IN, "<$f") || die ("$0: input file $f missing!\n");
|
||||||
|
if (open(OUT, ">$of")) {
|
||||||
|
while (<IN>) {
|
||||||
|
for $s (keys(%def)) {
|
||||||
|
s#\@$s\@#$def{$s}#;
|
||||||
|
} # for $s
|
||||||
|
print OUT;
|
||||||
|
} # while <IN>
|
||||||
|
} # if (outfile open)
|
||||||
|
} # for $f
|
||||||
|
|
||||||
|
exit 0;
|
|
@ -1,5 +1,5 @@
|
||||||
# Version of OpenSSH
|
# Version of OpenSSH
|
||||||
%define oversion 1.2.1pre21
|
%define oversion 1.2.1pre22
|
||||||
|
|
||||||
# Version of ssh-askpass
|
# Version of ssh-askpass
|
||||||
%define aversion 0.99
|
%define aversion 0.99
|
||||||
|
@ -16,6 +16,7 @@ Group: Applications/Internet
|
||||||
BuildRoot: /tmp/openssh-%{version}-buildroot
|
BuildRoot: /tmp/openssh-%{version}-buildroot
|
||||||
Obsoletes: ssh
|
Obsoletes: ssh
|
||||||
Requires: openssl
|
Requires: openssl
|
||||||
|
BuildPreReq: perl
|
||||||
BuildPreReq: openssl-devel
|
BuildPreReq: openssl-devel
|
||||||
BuildPreReq: tcp_wrappers
|
BuildPreReq: tcp_wrappers
|
||||||
BuildPreReq: gnome-libs-devel
|
BuildPreReq: gnome-libs-devel
|
||||||
|
@ -192,7 +193,8 @@ fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ChangeLog OVERVIEW COPYING.Ylonen README README.Ylonen INSTALL UPGRADING
|
%doc ChangeLog OVERVIEW COPYING.Ylonen README README.Ylonen INSTALL
|
||||||
|
%doc CREDITS UPGRADING
|
||||||
%attr(0755,root,root) /usr/bin/ssh-keygen
|
%attr(0755,root,root) /usr/bin/ssh-keygen
|
||||||
%attr(0755,root,root) /usr/bin/scp
|
%attr(0755,root,root) /usr/bin/scp
|
||||||
%attr(0644,root,root) /usr/man/man1/ssh-keygen.1
|
%attr(0644,root,root) /usr/man/man1/ssh-keygen.1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Summary: OpenSSH, a free Secure Shell (SSH) implementation
|
Summary: OpenSSH, a free Secure Shell (SSH) implementation
|
||||||
Name: openssh
|
Name: openssh
|
||||||
Version: 1.2.1pre21
|
Version: 1.2.1pre22
|
||||||
Release: 1
|
Release: 1
|
||||||
Source0: openssh-%{version}.tar.gz
|
Source0: openssh-%{version}.tar.gz
|
||||||
Copyright: BSD
|
Copyright: BSD
|
||||||
|
@ -203,7 +203,7 @@ fi
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING.Ylonen ChangeLog OVERVIEW README README.Ylonen
|
%doc COPYING.Ylonen ChangeLog OVERVIEW README README.Ylonen
|
||||||
%doc RFC.nroff TODO UPGRADING
|
%doc RFC.nroff TODO UPGRADING CREDITS
|
||||||
%attr(0755,root,root) /usr/bin/ssh-keygen
|
%attr(0755,root,root) /usr/bin/ssh-keygen
|
||||||
%attr(0755,root,root) /usr/bin/scp
|
%attr(0755,root,root) /usr/bin/scp
|
||||||
%attr(0644,root,root) %doc /usr/man/man1/ssh-keygen.1
|
%attr(0644,root,root) %doc /usr/man/man1/ssh-keygen.1
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Created: Sun May 7 00:14:37 1995 ylo
|
.\" Created: Sun May 7 00:14:37 1995 ylo
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: scp.1,v 1.3 1999/10/28 23:15:49 damien Exp $
|
.\" $Id: scp.1.in,v 1.1 1999/12/26 22:23:58 damien Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SCP 1
|
.Dt SCP 1
|
|
@ -9,7 +9,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Created: Sat Apr 22 23:55:14 1995 ylo
|
.\" Created: Sat Apr 22 23:55:14 1995 ylo
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: ssh-add.1,v 1.6 1999/12/06 00:47:29 damien Exp $
|
.\" $Id: ssh-add.1.in,v 1.1 1999/12/26 22:23:58 damien Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SSH-ADD 1
|
.Dt SSH-ADD 1
|
|
@ -9,7 +9,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Created: Sat Apr 22 23:55:14 1995 ylo
|
.\" Created: Sat Apr 22 23:55:14 1995 ylo
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: ssh-keygen.1,v 1.6 1999/12/26 03:24:41 damien Exp $
|
.\" $Id: ssh-keygen.1.in,v 1.1 1999/12/26 22:23:58 damien Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SSH-KEYGEN 1
|
.Dt SSH-KEYGEN 1
|
|
@ -9,7 +9,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Created: Sat Apr 22 21:55:14 1995 ylo
|
.\" Created: Sat Apr 22 21:55:14 1995 ylo
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: ssh.1,v 1.13 1999/12/26 03:24:41 damien Exp $
|
.\" $Id: ssh.1.in,v 1.1 1999/12/26 22:23:58 damien Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SSH 1
|
.Dt SSH 1
|
||||||
|
@ -66,7 +66,7 @@ his/her identity to the remote machine using one of several methods.
|
||||||
First, if the machine the user logs in from is listed in
|
First, if the machine the user logs in from is listed in
|
||||||
.Pa /etc/hosts.equiv
|
.Pa /etc/hosts.equiv
|
||||||
or
|
or
|
||||||
.Pa /etc/ssh/shosts.equiv
|
.Pa @sysconfdir@/shosts.equiv
|
||||||
on the remote machine, and the user names are
|
on the remote machine, and the user names are
|
||||||
the same on both sides, the user is immediately permitted to log in.
|
the same on both sides, the user is immediately permitted to log in.
|
||||||
Second, if
|
Second, if
|
||||||
|
@ -89,10 +89,10 @@ means that if the login would be permitted by
|
||||||
.Pa \&.shosts ,
|
.Pa \&.shosts ,
|
||||||
.Pa /etc/hosts.equiv ,
|
.Pa /etc/hosts.equiv ,
|
||||||
or
|
or
|
||||||
.Pa /etc/ssh/shosts.equiv ,
|
.Pa @sysconfdir@/shosts.equiv ,
|
||||||
and if additionally the server can verify the client's
|
and if additionally the server can verify the client's
|
||||||
host key (see
|
host key (see
|
||||||
.Pa /etc/ssh/ssh_known_hosts
|
.Pa @sysconfdir@/ssh_known_hosts
|
||||||
and
|
and
|
||||||
.Pa $HOME/.ssh/known_hosts
|
.Pa $HOME/.ssh/known_hosts
|
||||||
in the
|
in the
|
||||||
|
@ -250,7 +250,7 @@ identifications for all hosts it has ever been used with. The
|
||||||
database is stored in
|
database is stored in
|
||||||
.Pa \&.ssh/known_hosts
|
.Pa \&.ssh/known_hosts
|
||||||
in the user's home directory. Additionally, the file
|
in the user's home directory. Additionally, the file
|
||||||
.Pa /etc/ssh/ssh_known_hosts
|
.Pa @sysconfdir@/ssh_known_hosts
|
||||||
is automatically checked for known hosts. Any new hosts are
|
is automatically checked for known hosts. Any new hosts are
|
||||||
automatically added to the user's file. If a host's identification
|
automatically added to the user's file. If a host's identification
|
||||||
ever changes,
|
ever changes,
|
||||||
|
@ -418,7 +418,7 @@ obtains configuration data from the following sources (in this order):
|
||||||
command line options, user's configuration file
|
command line options, user's configuration file
|
||||||
.Pq Pa $HOME/.ssh/config ,
|
.Pq Pa $HOME/.ssh/config ,
|
||||||
and system-wide configuration file
|
and system-wide configuration file
|
||||||
.Pq Pa /etc/ssh/ssh_config .
|
.Pq Pa @sysconfdir@/ssh_config .
|
||||||
For each parameter, the first obtained value
|
For each parameter, the first obtained value
|
||||||
will be used. The configuration files contain sections bracketed by
|
will be used. The configuration files contain sections bracketed by
|
||||||
"Host" specifications, and that section is only applied for hosts that
|
"Host" specifications, and that section is only applied for hosts that
|
||||||
|
@ -542,7 +542,7 @@ The default is
|
||||||
.Dq no .
|
.Dq no .
|
||||||
.It Cm GlobalKnownHostsFile
|
.It Cm GlobalKnownHostsFile
|
||||||
Specifies a file to use instead of
|
Specifies a file to use instead of
|
||||||
.Pa /etc/ssh/ssh_known_hosts .
|
.Pa @sysconfdir@/ssh_known_hosts .
|
||||||
.It Cm HostName
|
.It Cm HostName
|
||||||
Specifies the real host name to log into. This can be used to specify
|
Specifies the real host name to log into. This can be used to specify
|
||||||
nicnames or abbreviations for hosts. Default is the name given on the
|
nicnames or abbreviations for hosts. Default is the name given on the
|
||||||
|
@ -693,7 +693,7 @@ ssh will never automatically add host keys to the
|
||||||
file, and refuses to connect hosts whose host key has changed. This
|
file, and refuses to connect hosts whose host key has changed. This
|
||||||
provides maximum protection against trojan horse attacks. However, it
|
provides maximum protection against trojan horse attacks. However, it
|
||||||
can be somewhat annoying if you don't have good
|
can be somewhat annoying if you don't have good
|
||||||
.Pa /etc/ssh/ssh_known_hosts
|
.Pa @sysconfdir@/ssh_known_hosts
|
||||||
files installed and frequently
|
files installed and frequently
|
||||||
connect new hosts. Basically this option forces the user to manually
|
connect new hosts. Basically this option forces the user to manually
|
||||||
add any new hosts. Normally this option is disabled, and new hosts
|
add any new hosts. Normally this option is disabled, and new hosts
|
||||||
|
@ -800,7 +800,7 @@ to the environment.
|
||||||
.It Pa $HOME/.ssh/known_hosts
|
.It Pa $HOME/.ssh/known_hosts
|
||||||
Records host keys for all hosts the user has logged into (that are not
|
Records host keys for all hosts the user has logged into (that are not
|
||||||
in
|
in
|
||||||
.Pa /etc/ssh/ssh_known_hosts ) .
|
.Pa @sysconfdir@/ssh_known_hosts ) .
|
||||||
See
|
See
|
||||||
.Xr sshd 8 .
|
.Xr sshd 8 .
|
||||||
.It Pa $HOME/.ssh/identity
|
.It Pa $HOME/.ssh/identity
|
||||||
|
@ -839,7 +839,7 @@ identity files (that is, each line contains the number of bits in
|
||||||
modulus, public exponent, modulus, and comment fields, separated by
|
modulus, public exponent, modulus, and comment fields, separated by
|
||||||
spaces). This file is not highly sensitive, but the recommended
|
spaces). This file is not highly sensitive, but the recommended
|
||||||
permissions are read/write for the user, and not accessible by others.
|
permissions are read/write for the user, and not accessible by others.
|
||||||
.It Pa /etc/ssh/ssh_known_hosts
|
.It Pa @sysconfdir@/ssh_known_hosts
|
||||||
Systemwide list of known host keys. This file should be prepared by the
|
Systemwide list of known host keys. This file should be prepared by the
|
||||||
system administrator to contain the public host keys of all machines in the
|
system administrator to contain the public host keys of all machines in the
|
||||||
organization. This file should be world-readable. This file contains
|
organization. This file should be world-readable. This file contains
|
||||||
|
@ -858,7 +858,7 @@ to verify the client host when logging in; other names are needed because
|
||||||
does not convert the user-supplied name to a canonical name before
|
does not convert the user-supplied name to a canonical name before
|
||||||
checking the key, because someone with access to the name servers
|
checking the key, because someone with access to the name servers
|
||||||
would then be able to fool host authentication.
|
would then be able to fool host authentication.
|
||||||
.It Pa /etc/ssh/ssh_config
|
.It Pa @sysconfdir@/ssh_config
|
||||||
Systemwide configuration file. This file provides defaults for those
|
Systemwide configuration file. This file provides defaults for those
|
||||||
values that are not specified in the user's configuration file, and
|
values that are not specified in the user's configuration file, and
|
||||||
for those users who do not have a configuration file. This file must
|
for those users who do not have a configuration file. This file must
|
||||||
|
@ -885,7 +885,7 @@ Note that by default
|
||||||
will be installed so that it requires successful RSA host
|
will be installed so that it requires successful RSA host
|
||||||
authentication before permitting \s+2.\s0rhosts authentication. If your
|
authentication before permitting \s+2.\s0rhosts authentication. If your
|
||||||
server machine does not have the client's host key in
|
server machine does not have the client's host key in
|
||||||
.Pa /etc/ssh/ssh_known_hosts ,
|
.Pa @sysconfdir@/ssh_known_hosts ,
|
||||||
you can store it in
|
you can store it in
|
||||||
.Pa $HOME/.ssh/known_hosts .
|
.Pa $HOME/.ssh/known_hosts .
|
||||||
The easiest way to do this is to
|
The easiest way to do this is to
|
||||||
|
@ -912,13 +912,13 @@ manual page). If the client host is found in this file, login is
|
||||||
automatically permitted provided client and server user names are the
|
automatically permitted provided client and server user names are the
|
||||||
same. Additionally, successful RSA host authentication is normally
|
same. Additionally, successful RSA host authentication is normally
|
||||||
required. This file should only be writable by root.
|
required. This file should only be writable by root.
|
||||||
.It Pa /etc/ssh/shosts.equiv
|
.It Pa @sysconfdir@/shosts.equiv
|
||||||
This file is processed exactly as
|
This file is processed exactly as
|
||||||
.Pa /etc/hosts.equiv .
|
.Pa /etc/hosts.equiv .
|
||||||
This file may be useful to permit logins using
|
This file may be useful to permit logins using
|
||||||
.Nm
|
.Nm
|
||||||
but not using rsh/rlogin.
|
but not using rsh/rlogin.
|
||||||
.It Pa /etc/ssh/sshrc
|
.It Pa @sysconfdir@/sshrc
|
||||||
Commands in this file are executed by
|
Commands in this file are executed by
|
||||||
.Nm
|
.Nm
|
||||||
when the user logs in just before the user's shell (or command) is started.
|
when the user logs in just before the user's shell (or command) is started.
|
|
@ -9,7 +9,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Created: Sat Apr 22 21:55:14 1995 ylo
|
.\" Created: Sat Apr 22 21:55:14 1995 ylo
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: sshd.8,v 1.9 1999/11/24 13:26:23 damien Exp $
|
.\" $Id: sshd.8.in,v 1.1 1999/12/26 22:23:59 damien Exp $
|
||||||
.\"
|
.\"
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SSHD 8
|
.Dt SSHD 8
|
||||||
|
@ -123,7 +123,7 @@ not fork and will only process one connection. This option is only
|
||||||
intended for debugging for the server.
|
intended for debugging for the server.
|
||||||
.It Fl f Ar configuration_file
|
.It Fl f Ar configuration_file
|
||||||
Specifies the name of the configuration file. The default is
|
Specifies the name of the configuration file. The default is
|
||||||
.Pa /etc/ssh/sshd_config .
|
.Pa @sysconfdir@/sshd_config .
|
||||||
.Nm
|
.Nm
|
||||||
refuses to start if there is no configuration file.
|
refuses to start if there is no configuration file.
|
||||||
.It Fl g Ar login_grace_time
|
.It Fl g Ar login_grace_time
|
||||||
|
@ -133,7 +133,7 @@ this many seconds, the server disconnects and exits. A value of zero
|
||||||
indicates no limit.
|
indicates no limit.
|
||||||
.It Fl h Ar host_key_file
|
.It Fl h Ar host_key_file
|
||||||
Specifies the file from which the host key is read (default
|
Specifies the file from which the host key is read (default
|
||||||
.Pa /etc/ssh/ssh_host_key ) .
|
.Pa @sysconfdir@/ssh_host_key ) .
|
||||||
This option must be given if
|
This option must be given if
|
||||||
.Nm
|
.Nm
|
||||||
is not run as root (as the normal
|
is not run as root (as the normal
|
||||||
|
@ -177,7 +177,7 @@ Protocol Version Identification Exchange.
|
||||||
.Sh CONFIGURATION FILE
|
.Sh CONFIGURATION FILE
|
||||||
.Nm
|
.Nm
|
||||||
reads configuration data from
|
reads configuration data from
|
||||||
.Pa /etc/ssh/sshd_config
|
.Pa @sysconfdir@/sshd_config
|
||||||
(or the file specified with
|
(or the file specified with
|
||||||
.Fl f
|
.Fl f
|
||||||
on the command line). The file
|
on the command line). The file
|
||||||
|
@ -245,7 +245,7 @@ id isn't recognized. By default login is allowed regardless of
|
||||||
the user name.
|
the user name.
|
||||||
.It Cm HostKey
|
.It Cm HostKey
|
||||||
Specifies the file containing the private host key (default
|
Specifies the file containing the private host key (default
|
||||||
.Pa /etc/ssh/ssh_host_key ) .
|
.Pa @sysconfdir@/ssh_host_key ) .
|
||||||
Note that
|
Note that
|
||||||
.Nm
|
.Nm
|
||||||
does not start if this file is group/world-accessible.
|
does not start if this file is group/world-accessible.
|
||||||
|
@ -254,7 +254,7 @@ Specifies that rhosts and shosts files will not be used in
|
||||||
authentication.
|
authentication.
|
||||||
.Pa /etc/hosts.equiv
|
.Pa /etc/hosts.equiv
|
||||||
and
|
and
|
||||||
.Pa /etc/ssh/shosts.equiv
|
.Pa @sysconfdir@/shosts.equiv
|
||||||
are still used. The default is
|
are still used. The default is
|
||||||
.Dq no .
|
.Dq no .
|
||||||
.It Cm IgnoreUserKnownHosts
|
.It Cm IgnoreUserKnownHosts
|
||||||
|
@ -470,7 +470,7 @@ Changes to user's home directory.
|
||||||
If
|
If
|
||||||
.Pa $HOME/.ssh/rc
|
.Pa $HOME/.ssh/rc
|
||||||
exists, runs it; else if
|
exists, runs it; else if
|
||||||
.Pa /etc/ssh/sshrc
|
.Pa @sysconfdir@/sshrc
|
||||||
exists, runs
|
exists, runs
|
||||||
it; otherwise runs xauth. The
|
it; otherwise runs xauth. The
|
||||||
.Dq rc
|
.Dq rc
|
||||||
|
@ -556,7 +556,7 @@ from="*.niksula.hut.fi,!pc.niksula.hut.fi" 1024 35 23.\|.\|.\|2334 ylo@niksula
|
||||||
command="dump /home",no-pty,no-port-forwarding 1024 33 23.\|.\|.\|2323 backup.hut.fi
|
command="dump /home",no-pty,no-port-forwarding 1024 33 23.\|.\|.\|2323 backup.hut.fi
|
||||||
.Sh SSH_KNOWN_HOSTS FILE FORMAT
|
.Sh SSH_KNOWN_HOSTS FILE FORMAT
|
||||||
The
|
The
|
||||||
.Pa /etc/ssh/ssh_known_hosts
|
.Pa @sysconfdir@/ssh_known_hosts
|
||||||
and
|
and
|
||||||
.Pa $HOME/.ssh/known_hosts
|
.Pa $HOME/.ssh/known_hosts
|
||||||
files contain host public keys for all known hosts. The global file should
|
files contain host public keys for all known hosts. The global file should
|
||||||
|
@ -579,7 +579,7 @@ pattern on the line.
|
||||||
.Pp
|
.Pp
|
||||||
Bits, exponent, and modulus are taken directly from the host key; they
|
Bits, exponent, and modulus are taken directly from the host key; they
|
||||||
can be obtained, e.g., from
|
can be obtained, e.g., from
|
||||||
.Pa /etc/ssh/ssh_host_key.pub .
|
.Pa @sysconfdir@/ssh_host_key.pub .
|
||||||
The optional comment field continues to the end of the line, and is not used.
|
The optional comment field continues to the end of the line, and is not used.
|
||||||
.Pp
|
.Pp
|
||||||
Lines starting with
|
Lines starting with
|
||||||
|
@ -598,25 +598,25 @@ Note that the lines in these files are typically hundreds of characters
|
||||||
long, and you definitely don't want to type in the host keys by hand.
|
long, and you definitely don't want to type in the host keys by hand.
|
||||||
Rather, generate them by a script
|
Rather, generate them by a script
|
||||||
or by taking
|
or by taking
|
||||||
.Pa /etc/ssh/ssh_host_key.pub
|
.Pa @sysconfdir@/ssh_host_key.pub
|
||||||
and adding the host names at the front.
|
and adding the host names at the front.
|
||||||
.Ss Examples
|
.Ss Examples
|
||||||
closenet,closenet.hut.fi,.\|.\|.\|,130.233.208.41 1024 37 159.\|.\|.93 closenet.hut.fi
|
closenet,closenet.hut.fi,.\|.\|.\|,130.233.208.41 1024 37 159.\|.\|.93 closenet.hut.fi
|
||||||
.Sh FILES
|
.Sh FILES
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Pa /etc/ssh/sshd_config
|
.It Pa @sysconfdir@/sshd_config
|
||||||
Contains configuration data for
|
Contains configuration data for
|
||||||
.Nm sshd .
|
.Nm sshd .
|
||||||
This file should be writable by root only, but it is recommended
|
This file should be writable by root only, but it is recommended
|
||||||
(though not necessary) that it be world-readable.
|
(though not necessary) that it be world-readable.
|
||||||
.It Pa /etc/ssh/ssh_host_key
|
.It Pa @sysconfdir@/ssh_host_key
|
||||||
Contains the private part of the host key.
|
Contains the private part of the host key.
|
||||||
This file should only be owned by root, readable only by root, and not
|
This file should only be owned by root, readable only by root, and not
|
||||||
accessible to others.
|
accessible to others.
|
||||||
Note that
|
Note that
|
||||||
.Nm
|
.Nm
|
||||||
does not start if this file is group/world-accessible.
|
does not start if this file is group/world-accessible.
|
||||||
.It Pa /etc/ssh/ssh_host_key.pub
|
.It Pa @sysconfdir@/ssh_host_key.pub
|
||||||
Contains the public part of the host key.
|
Contains the public part of the host key.
|
||||||
This file should be world-readable but writable only by
|
This file should be world-readable but writable only by
|
||||||
root. Its contents should match the private part. This file is not
|
root. Its contents should match the private part. This file is not
|
||||||
|
@ -637,14 +637,14 @@ This file must be readable by root (which may on some machines imply
|
||||||
it being world-readable if the user's home directory resides on an NFS
|
it being world-readable if the user's home directory resides on an NFS
|
||||||
volume). It is recommended that it not be accessible by others. The
|
volume). It is recommended that it not be accessible by others. The
|
||||||
format of this file is described above.
|
format of this file is described above.
|
||||||
.It Pa "/etc/ssh_known_hosts" and "$HOME/.ssh/known_hosts"
|
.It Pa "@sysconfdir@_known_hosts" and "$HOME/.ssh/known_hosts"
|
||||||
These files are consulted when using rhosts with RSA host
|
These files are consulted when using rhosts with RSA host
|
||||||
authentication to check the public key of the host. The key must be
|
authentication to check the public key of the host. The key must be
|
||||||
listed in one of these files to be accepted.
|
listed in one of these files to be accepted.
|
||||||
The client uses the same files
|
The client uses the same files
|
||||||
to verify that the remote host is the one we intended to
|
to verify that the remote host is the one we intended to
|
||||||
connect. These files should be writable only by root/the owner.
|
connect. These files should be writable only by root/the owner.
|
||||||
.Pa /etc/ssh/ssh_known_hosts
|
.Pa @sysconfdir@/ssh_known_hosts
|
||||||
should be world-readable, and
|
should be world-readable, and
|
||||||
.Pa $HOME/.ssh/known_hosts
|
.Pa $HOME/.ssh/known_hosts
|
||||||
can but need not be world-readable.
|
can but need not be world-readable.
|
||||||
|
@ -706,7 +706,7 @@ user root access. The only valid use for user names that I can think
|
||||||
of is in negative entries.
|
of is in negative entries.
|
||||||
.Pp
|
.Pp
|
||||||
Note that this warning also applies to rsh/rlogin.
|
Note that this warning also applies to rsh/rlogin.
|
||||||
.It Pa /etc/ssh/shosts.equiv
|
.It Pa @sysconfdir@/shosts.equiv
|
||||||
This is processed exactly as
|
This is processed exactly as
|
||||||
.Pa /etc/hosts.equiv .
|
.Pa /etc/hosts.equiv .
|
||||||
However, this file may be useful in environments that want to run both
|
However, this file may be useful in environments that want to run both
|
||||||
|
@ -736,13 +736,13 @@ something similar to: "if read proto cookie; then echo add $DISPLAY
|
||||||
$proto $cookie | xauth -q -; fi".
|
$proto $cookie | xauth -q -; fi".
|
||||||
.Pp
|
.Pp
|
||||||
If this file does not exist,
|
If this file does not exist,
|
||||||
.Pa /etc/ssh/sshrc
|
.Pa @sysconfdir@/sshrc
|
||||||
is run, and if that
|
is run, and if that
|
||||||
does not exist either, xauth is used to store the cookie.
|
does not exist either, xauth is used to store the cookie.
|
||||||
.Pp
|
.Pp
|
||||||
This file should be writable only by the user, and need not be
|
This file should be writable only by the user, and need not be
|
||||||
readable by anyone else.
|
readable by anyone else.
|
||||||
.It Pa /etc/ssh/sshrc
|
.It Pa @sysconfdir@/sshrc
|
||||||
Like
|
Like
|
||||||
.Pa $HOME/.ssh/rc .
|
.Pa $HOME/.ssh/rc .
|
||||||
This can be used to specify
|
This can be used to specify
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Port 22
|
Port 22
|
||||||
ListenAddress 0.0.0.0
|
ListenAddress 0.0.0.0
|
||||||
HostKey /etc/ssh/ssh_host_key
|
HostKey @sysconfdir@/ssh_host_key
|
||||||
ServerKeyBits 768
|
ServerKeyBits 768
|
||||||
LoginGraceTime 600
|
LoginGraceTime 600
|
||||||
KeyRegenerationInterval 3600
|
KeyRegenerationInterval 3600
|
Loading…
Reference in New Issue