Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
a0fa85e6
Commit
a0fa85e6
authored
Feb 04, 2001
by
Niels Möller
Browse files
* src/testsuite/functions.sh: New variable HOSTKEY for configuring
which hostkey to use. Rev: src/testsuite/functions.sh:1.6
parent
50922be4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/testsuite/functions.sh
View file @
a0fa85e6
...
...
@@ -12,6 +12,14 @@ if [ -z "$CLIENTFLAGS" ] ; then
CLIENTFLAGS
=
-q
fi
if
[
-z
"
$HOSTKEY
"
]
;
then
HOSTKEY
=
$srcdir
/key-1.private
fi
# if [ -z "$USERKEY" ] ; then
# USERKEY=$srcdir/key-1.private
# fi
# Any error count as failure.
set
-e
...
...
@@ -44,7 +52,7 @@ spawn_lshd () {
# local is not available in /bin/sh
# local delay
../lshd
-h
$
srcdir
/key-1.private
--interface
=
localhost
\
../lshd
-h
$
HOSTKEY
--interface
=
localhost
\
-p
$PORT
$SERVERFLAGS
--pid-file
lshd.
$$
.pid &
at_exit
'kill `cat lshd.$$.pid`; rm -f lshd.$$.pid'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment