From ssh-owner@clinet.fi Fri Jan 26 09:38:19 1996 Status: RO X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1431" "Fri" "26" "January" "1996" "14:38:19" "-0500" "David Mazieres" "dm@amsterdam.lcs.mit.edu" nil "57" "Ssh-keyscan patch" "^From:" nil nil "1" nil nil nil nil] nil) Received: from hauki.clinet.fi by hutcs.cs.hut.fi with SMTP id AA24594 (5.65c8/HUTCS-S 1.4 for ); Fri, 26 Jan 1996 21:45:21 +0200 Received: from amsterdam.lcs.mit.edu (dm@amsterdam.lcs.mit.edu [18.26.0.9]) by hauki.clinet.fi (8.7.3/8.6.4) with SMTP id VAA24139 for ; Fri, 26 Jan 1996 21:38:53 +0200 (EET) Received: (from dm@localhost) by amsterdam.lcs.mit.edu (8.6.10/8.6.10) id OAA06054; Fri, 26 Jan 1996 14:38:19 -0500 Message-Id: <199601261938.OAA06054@amsterdam.lcs.mit.edu> From: David Mazieres To: ssh@clinet.fi Subject: Ssh-keyscan patch Date: Fri, 26 Jan 1996 14:38:19 -0500 This is a tiny, non-critical patch for ssh-kescan version 0.2. It fixes some formatting problems in the ssh-keyscan man page. David -- Executing ssh-askpass to query the password... cvs server: Diffing ssh-keyscan Index: ssh-keyscan/ssh-keyscan.1 diff -u ssh-keyscan/ssh-keyscan.1:1.1 ssh-keyscan/ssh-keyscan.1:1.2 --- ssh-keyscan/ssh-keyscan.1:1.1 Sun Jan 14 15:38:03 1996 +++ ssh-keyscan/ssh-keyscan.1 Fri Jan 26 14:31:18 1996 @@ -60,29 +60,34 @@ .B ssh-keyscan will read hosts or "host namelist" pairs from the standard input. .SH EXAMPLES -\fBssh-keyscan\fR \fIhostname\fR -.TP -.B "" + \fBssh-keyscan\fR \fIhostname\fR +.PP Print the host key for machine .IR hostname . .PP -\fBmake-host-list\fR \fImy.domain\fR | \fBssh-keyscan\fR -f - -.TP -.B "" + \fBmake-host-list\fR \fImy.domain\fR | \fBssh-keyscan\fR -f - +.PP Build an .I ssh_known_hosts file for all hosts in the DNS zone .IR my.domain . .PP -.B ssh-keyscan + \fBmake-host-list\fR \fImy.domain\fR +| fgrep -v \fI.pc.my.domain,\fR +.br + | \fBssh-keyscan\fR -f - +.PP +Scan all hosts in DNS zone \fImy.domain\fR except PC's with names +ending \fI.pc.my.domain\fR. +.PP +.B " ssh-keyscan" .BI -f ssh_hosts | sort -u - .I ssh_known_hosts "\\\ " .br | diff .I ssh_known_hosts - -.TP -.B "" +.PP Find all hosts from the file .I ssh_hosts which have new or different keys from those in the sorted file