2021-08-26 11:45:00 -06:00
|
|
|
-include Makefile.local.mk
|
|
|
|
|
2021-05-07 10:27:53 -06:00
|
|
|
export SSH_LISTEN?=:2222
|
|
|
|
export SSH_HOSTKEYS?=hostkeys
|
|
|
|
export SSH_AUTHKEYS?=authkeys
|
|
|
|
|
|
|
|
|
|
|
|
run:
|
|
|
|
go run .
|
|
|
|
|
|
|
|
genkeys:
|
|
|
|
mkdir -p $(SSH_HOSTKEYS)
|
|
|
|
ssh-keygen -q -N "" -t rsa -b 4096 -f $(SSH_HOSTKEYS)/rsa
|
|
|
|
ssh-keygen -q -N "" -t ecdsa -f $(SSH_HOSTKEYS)/ecdsa
|
|
|
|
ssh-keygen -q -N "" -t ed25519 -f $(SSH_HOSTKEYS)/ed25519
|
|
|
|
rm -f $(SSH_HOSTKEYS)/*.pub
|