diff --git a/.gitignore b/.gitignore index 4f2b5d70e41da934a1bd7cb29080d536232f5abb..15e5be1913b30e559d17da257dbeaacc50b3ea69 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ CA* users/ hosts/ +.server.pid diff --git a/Makefile b/Makefile index 99bd3d8d12538eebb5865eff9fe5dbe445548239..ef07667d3f7f85d2cf9fe7e69dcafbcc2771e00c 100644 --- a/Makefile +++ b/Makefile @@ -9,5 +9,6 @@ clean: test: clean ./ssh-ca init - ./ssh-ca newuser john - ./ssh-ca newhost www + ./ssh-ca newuser $$USER + ./ssh-ca newhost localhost + $$(which sshd) -dddf sshd_config diff --git a/sshd_config b/sshd_config new file mode 100644 index 0000000000000000000000000000000000000000..9784d3199824ebf4a720b0391316430a2c28a893 --- /dev/null +++ b/sshd_config @@ -0,0 +1,14 @@ +ListenAddress 127.0.0.1:22222 +HostKey hosts/localhost +TrustedUserCAKeys ssh_ca.pub +HostCertificate hosts/localhost.pub +Banner "ssh-ca dummy test daemon" +PasswordAuthentication no +PermitRootLogin no +PidFile .server.pid +StrictModes no +UsePrivilegeSeparation no +UsePAM no +RSAAuthentication yes +PubkeyAuthentication yes +Protocol 2