File: 01makekeyprintkey

package info (click to toggle)
tinyssh 20250501-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,388 kB
  • sloc: ansic: 20,245; sh: 1,582; python: 1,449; makefile: 913
file content (22 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# 20180109
# Jan Mojzis
# Public domain.

set -e

#change directory to $AUTOPKGTEST_TMP
cd "${AUTOPKGTEST_TMP}"

#we need tools from /usr/sbin
PATH="/usr/sbin:/sbin:${PATH}"
export PATH

#check tinysshd-makekey and tinysshd-printkey
rm -rf keydir
tinysshd-makekey keydir
tinysshd-printkey keydir
rm -rf keydir

echo "tinysshd-makekey and tinysshd-printkey works"
exit 0