summaryrefslogtreecommitdiff
path: root/ssh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-08-26 19:29:22 +0200
committerKarel Kočí <cynerd@email.cz>2018-08-26 19:31:07 +0200
commit408b7d005277e205f431e1b4eb256bbe836cba54 (patch)
treeb430e751ccca3d6ea12f18f6b76f412da92ac516 /ssh
parent0d1aacddfe40a053a5e9774f561b9f64efe3592a (diff)
downloadlaminar-cnf-408b7d005277e205f431e1b4eb256bbe836cba54.tar.gz
laminar-cnf-408b7d005277e205f431e1b4eb256bbe836cba54.tar.bz2
laminar-cnf-408b7d005277e205f431e1b4eb256bbe836cba54.zip
Change how ssh access is configured
Diffstat (limited to 'ssh')
-rw-r--r--ssh/authorized_keys2
-rw-r--r--ssh/config9
2 files changed, 11 insertions, 0 deletions
diff --git a/ssh/authorized_keys b/ssh/authorized_keys
new file mode 100644
index 0000000..9b1abb0
--- /dev/null
+++ b/ssh/authorized_keys
@@ -0,0 +1,2 @@
+restrict,command="~/cfg/ssh-hook.sh" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuiylOhJaLHuoYleeIqXw0DeYI+DHp7z6LyWa5gVhV+DgHEOwra9SfrKwDKRlu/uDNbwuMzI4XE2Y3rXp6Fx/Ujh4+yrqCCJKdMFJt60iftys7Ilb+H0ihyrnhGCVFr214GDOjF94llkbHIYqSm3LcXdN9Xs2koPM0kq2+LZGMQ5Q9nc0gDGztiTArn9WfQsclu5OZhrWFfwUIwyI0wITHTMrMSNBL8mt/sKjGCNcRv/zg8FaLnB+GNjkA6jrzw3qLyguS0DUWszX4NlgkAd3KxhVoonnrhh35EAdZXtChT3g9zE42xgfbE3houkuRYA4YpJOJfYi1O+oLz40N/lKt git hook build key
+restrict,command="~/cfg/ssh-hook.sh" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3cs5UOO/epaxSUaO6kDtQlfdS/K5GEJBGK9nH+KcRL4DNQlAGWZsJiJQPuIL3fGlzRLqnPr8YEMbT5sl/moe/gZe2VD5FoAr2dR2fEw5wXXDI90bxbmCWqbyjmRxlKxdKhc6v1BukmuxScsZO0VrUNks1veCGgi1G9w+tY5HevBlMqvDyDpU/H1LN7MVgkCser+ROjRPviDhLaXk6dLKut33SYgce02s5hlvTiWQa+CqeBfRkdiP5VBo/7PQOWsd8GSfCgO0mwhxFowG8cMFyEwMOi70HeNmURtKbd/h6cz0zsdA39fQ8huRWHRd/CQhgIUOsM+W0uPEwkv9HBErx cynerd@cynerd-pc
diff --git a/ssh/config b/ssh/config
new file mode 100644
index 0000000..5e0493b
--- /dev/null
+++ b/ssh/config
@@ -0,0 +1,9 @@
+# vim: ft=sshconfig
+
+Host *
+ StrictHostKeyChecking no
+
+Host upload
+ User upload
+ Hostname cynerd.cz
+ IdentityFile ~/upload.ssh.key