summaryrefslogtreecommitdiff
path: root/sshd.8
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-15 11:32:06 +1100
committerDamien Miller <djm@mindrot.org>2006-03-15 11:32:06 +1100
commit7d2ef02f1c79788e9b73d15a33019e09fe6bec76 (patch)
treed973f573594befb9946cda49de3adef3a089c4d5 /sshd.8
parent31bdc52325c8ba48f23fc7e0b32bfab67ebf47cb (diff)
- jmc@cvs.openbsd.org 2006/02/13 10:16:39
[sshd.8] no need to subsection the authorized_keys examples - instead, convert this to look like an actual file. also use proto 2 keys, and use IETF example addresses;
Diffstat (limited to 'sshd.8')
-rw-r--r--sshd.820
1 files changed, 10 insertions, 10 deletions
diff --git a/sshd.8 b/sshd.8
index 58bf9062a..4eb5321ab 100644
--- a/sshd.8
+++ b/sshd.8
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: sshd.8,v 1.218 2006/02/12 17:57:19 jmc Exp $ 37.\" $OpenBSD: sshd.8,v 1.219 2006/02/13 10:16:39 jmc Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSHD 8 39.Dt SSHD 8
40.Os 40.Os
@@ -503,16 +503,16 @@ device on the server.
503Without this option, the next available device will be used if 503Without this option, the next available device will be used if
504the client requests a tunnel. 504the client requests a tunnel.
505.El 505.El
506.Ss Examples
5071024 33 12121...312314325 ylo@foo.bar
508.Pp
509from="*.niksula.hut.fi,!pc.niksula.hut.fi" 1024 35 23...2334 ylo@niksula
510.Pp
511command="dump /home",no-pty,no-port-forwarding 1024 33 23...2323 backup.hut.fi
512.Pp 506.Pp
513permitopen="10.2.1.55:80",permitopen="10.2.1.56:25" 1024 33 23...2323 507An example authorized_keys file:
514.Pp 508.Bd -literal
515tunnel="0",command="sh /etc/netstart tun0" ssh-rsa AAAA...== reyk@openbsd.org 509# Comments allowed at start of line
510ssh-rsa AAAAB3Nza...LiPk== user@example.net
511from="*.sales.example.net,!pc.sales.example.net" ssh-rsa AAAAB2...19Q== john@example.net
512command="dump /home",no-pty,no-port-forwarding ssh-dss AAAAC3...51R== example.net
513permitopen="192.0.2.1:80",permitopen="192.0.2.2:25" ssh-dss AAAAB5...21S==
514tunnel="0",command="sh /etc/netstart tun0" ssh-rsa AAAA...== jane@example.net
515.Ed
516.Sh SSH_KNOWN_HOSTS FILE FORMAT 516.Sh SSH_KNOWN_HOSTS FILE FORMAT
517The 517The
518.Pa /etc/ssh/ssh_known_hosts 518.Pa /etc/ssh/ssh_known_hosts