Skip to content

Commit 203279e

Browse files
committed
8
1 parent 0d1f287 commit 203279e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/interop-mlkem.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,11 @@ jobs:
9898
${{ env.build_dir }}/bin/ssh-keygen -f ~/.ssh/id_ed25519 -N "" -t ed25519
9999
cp ~/.ssh/id_ed25519.pub ~/.ssh/authorized_keys
100100
${{ env.build_dir }}/sbin/sshd -p 22222 -o KbdInteractiveAuthentication=no -o PasswordAuthentication=no -o KexAlgorithms=mlkem768x25519-sha256
101+
SSH_PID=$?
101102
./examples/client/client -u $(whoami) -i ~/.ssh/id_ed25519 -j ~/.ssh/id_ed25519.pub -c "ls /"
102-
kill -9 $(cat /var/run/sshd.pid)
103+
kill -9 $SSH_PID
103104
ps aux
104-
ECHO_PID=./examples/echoserver/echoserver -p 22222 -x mlkem768x25519-sha256 -I runner:~/.ssh/authorized_keys
105+
./examples/echoserver/echoserver -p 22222 -x mlkem768x25519-sha256 -I runner:~/.ssh/authorized_keys
106+
ECHO_PID=$?
105107
${{ env.build_dir }}/bin/ssh -p 22222 localhost ls /
106108
kill -9 $ECHO_PID

0 commit comments

Comments
 (0)