dot

packages and services management
Log | Files | Refs | README

commit 63eb840121e0450b1625c5df7961d4f4611c5743
parent 0fea86a0ae19dd313603ceb1f86fe274c93a0ee6
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 25 Feb 2018 11:15:35 +0100

fix: tinyssh run script has to exec

Diffstat:
M.ssh/config | 3++-
Mbin/io | 2+-
Msv/tinyssh/run | 4+++-
Muri | 2++
4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/.ssh/config b/.ssh/config @@ -1,5 +1,4 @@ AddKeysToAgent yes -IdentityFile /mnt/key/josuah.key host git.nixers.net IdentityFile /mnt/key/git.nixers.net.key @@ -12,3 +11,5 @@ host github.com host git.epitech.eu IdentityFile /mnt/key/epitech.eu.key + +IdentityFile /mnt/key/josuah.key diff --git a/bin/io b/bin/io @@ -44,7 +44,7 @@ EOF mdirs "$HOME/var/mail" | sort | while IFS='' read -r dir do - printf '%s\t%s\n' "$(mlist -s "$dir" | wc -l)" "$dir" + printf '%s\t%s\n' "$(mlist -s "$dir" | wc -l | sed 's/ 0/ ./')" "$dir" done | iomenu | cut -f 2 | mlist | mthread | msort -r -d | mseq -S | mscan -f '%6n %u %D %20f %t%2i%120S' | iomenu | sed -r 's/^ *([0-9]*) .*/\1/'| diff --git a/sv/tinyssh/run b/sv/tinyssh/run @@ -1,7 +1,9 @@ #!/bin/sh -ex keydir="$HOME/.config/tinyssh" +port="2222" +# SSHv2 only server with minimal footprint # based off recipe at https://tinyssh.org/ exec 2>&1 @@ -10,4 +12,4 @@ exec 2>&1 chmod 500 "$keydir" -tcpserver -HRDl0 0.0.0.0 2222 tinysshd -ov "$keydir" +exec tcpserver -HRDl0 0.0.0.0 "$port" tinysshd -ov "$keydir" diff --git a/uri b/uri @@ -37,6 +37,7 @@ http://reddit.com http://suckless.org http://systemspace.network http://thecontext.net +http://thesecretlivesofdata.com/raft/ http://tttthis.com/rememberwebsites.php http://wiby.me http://win95.ajf.me/win95.html @@ -46,6 +47,7 @@ http://www.destroyallsoftware.com/compendium/network-protocols http://www.tldp.org/guides.html https://bulbizarre.swordarmor.fr/munin/ https://radio.2f30.org:8443/live.mp3 +https://raft.github.io/ irc://irc.cyberia.is/2f30 irc://irc.cyberia.is/airbnb irc://irc.cyberia.is/cyberia