diff --git a/Makefile b/Makefile
index ca86312002bd7abcfbbacd4b6520a06316d5cd21..61438df626e4de45868ba2c0a94daf4988bc4415 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@
 USERNAME = $$(whoami)
 
 clean:
+	- kill $$(cat sshd.pid)
 	git clean -fdx
 
 test: ssh_config sshd_config CA CA.pub users/$(USERNAME) hosts/localhost known_hosts