Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/ssh tweak the example $HOME/.ssh/rc script to no...
details: https://anonhg.NetBSD.org/src/rev/1e702359763c
branches: trunk
changeset: 536984:1e702359763c
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Sep 25 03:43:19 2002 +0000
description:
tweak the example $HOME/.ssh/rc script to not show on any cmdline the
sensitive data it handles. This fixes bug # 402 as reported by
kolya%mit.edu@localhost (Nickolai Zeldovich).
diffstat:
crypto/dist/ssh/sshd.8 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 13fffa1fd962 -r 1e702359763c crypto/dist/ssh/sshd.8
--- a/crypto/dist/ssh/sshd.8 Wed Sep 25 02:55:03 2002 +0000
+++ b/crypto/dist/ssh/sshd.8 Wed Sep 25 03:43:19 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: sshd.8,v 1.29 2002/07/08 14:39:53 itojun Exp $
+.\" $NetBSD: sshd.8,v 1.30 2002/09/25 03:43:19 itojun Exp $
.\" -*- nroff -*-
.\"
.\" Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -724,12 +724,12 @@
if read proto cookie && [ -n "$DISPLAY" ]; then
if [ `echo $DISPLAY | cut -c1-10` = 'localhost:' ]; then
# X11UseLocalhost=yes
- xauth add unix:`echo $DISPLAY |
+ echo add unix:`echo $DISPLAY |
cut -c11-` $proto $cookie
else
# X11UseLocalhost=no
- xauth add $DISPLAY $proto $cookie
- fi
+ echo add $DISPLAY $proto $cookie
+ fi | xauth -q -
fi
.Ed
.Pp
Home |
Main Index |
Thread Index |
Old Index