dot

packages and services management
Log | Files | Refs | README

commit 694fe6590343cdef2eeaa9f6677dba15db08fc1b
parent 14b11f200afced090c22e7141e39a5dd5e9238c2
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 24 Feb 2018 13:56:27 +0100

manage *public* keys with git

Diffstat:
A.ssh/authorized_keys | 2++
M.ssh/config | 11+++++++----
Msv/collectd/run | 2+-
Msv/crond/run | 2+-
Msv/geomyidae/run | 2+-
Msv/git/run | 2+-
Asv/tinysshd/run | 9+++++++++
7 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/.ssh/authorized_keys b/.ssh/authorized_keys @@ -0,0 +1,2 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGdn6aPC0KljXK4T+zmegwbAhHHwd/2n4QOjaTwXhYSN josuah@t470s + diff --git a/.ssh/config b/.ssh/config @@ -14,15 +14,18 @@ host git.epitech.eu host nas.josuah.net IdentityFile /mnt/key/nas.josuah.net.key + IdentityFile /mnt/key/josuah.key host 172.16.55.2 - IdentityFile /mnt/key/nas.josuah.net.key + IdentityFile /mnt/key/josuah.key +# IdentityFile /mnt/key/nas.josuah.net.key host 192.168.0.11 IdentityFile /mnt/key/nas.josuah.net.key + IdentityFile /mnt/key/josuah.key host rpi.josuah.net - IdentityFile /mnt/key/rpi.josuah.net.key + IdentityFile /mnt/key/josuah.key host 172.16.55.3 - IdentityFile /mnt/key/rpi.josuah.net.key + IdentityFile /mnt/key/josuah.key host kroa.josuah.net IdentityFile /mnt/key/kroa.josuah.net.key @@ -32,7 +35,7 @@ host 172.16.55.3 IdentityFile /mnt/key/kroa.josuah.net.key host josuah.net - IdentityFile /mnt/key/rpi.josuah.net.key + IdentityFile /mnt/key/josuah.key host bitreich.org IdentityFile /mnt/key/josuah.key diff --git a/sv/collectd/run b/sv/collectd/run @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh -ex exec 2>&1 exec collectd -f -C "$HOME/.config/collectd.conf" diff --git a/sv/crond/run b/sv/crond/run @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh -ex exec 2>&1 exec crond -n -f "$HOME/.config/crontab" diff --git a/sv/geomyidae/run b/sv/geomyidae/run @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh -ex path="/home/srv" port="70" diff --git a/sv/git/run b/sv/git/run @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh -ex path="$HOME/srv/git" port="$9418" diff --git a/sv/tinysshd/run b/sv/tinysshd/run @@ -0,0 +1,9 @@ +#!/bin/sh -ex + +keydir="$HOME/.config/tinysshd" + +[ -d "$keydir" ] || tinysshd-makekey "$keydir" + +chmod 500 "$keydir" + +tcpserver -HRDl0 0.0.0.0 2222 tinysshd -ov "$keydir"