Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSH
lsh
Commits
a0fa85e6
Commit
a0fa85e6
authored
Feb 4, 2001
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
* src/testsuite/functions.sh: New variable HOSTKEY for configuring
which hostkey to use. Rev: src/testsuite/functions.sh:1.6
parent
50922be4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/testsuite/functions.sh
+9
-1
9 additions, 1 deletion
src/testsuite/functions.sh
with
9 additions
and
1 deletion
src/testsuite/functions.sh
+
9
−
1
View file @
a0fa85e6
...
@@ -12,6 +12,14 @@ if [ -z "$CLIENTFLAGS" ] ; then
...
@@ -12,6 +12,14 @@ if [ -z "$CLIENTFLAGS" ] ; then
CLIENTFLAGS
=
-q
CLIENTFLAGS
=
-q
fi
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.
# Any error count as failure.
set
-e
set
-e
...
@@ -44,7 +52,7 @@ spawn_lshd () {
...
@@ -44,7 +52,7 @@ spawn_lshd () {
# local is not available in /bin/sh
# local is not available in /bin/sh
# local delay
# local delay
../lshd
-h
$
srcdir
/key-1.private
--interface
=
localhost
\
../lshd
-h
$
HOSTKEY
--interface
=
localhost
\
-p
$PORT
$SERVERFLAGS
--pid-file
lshd.
$$
.pid &
-p
$PORT
$SERVERFLAGS
--pid-file
lshd.
$$
.pid &
at_exit
'kill `cat lshd.$$.pid`; rm -f lshd.$$.pid'
at_exit
'kill `cat lshd.$$.pid`; rm -f lshd.$$.pid'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment