From 2574c4cabc34756eb124e69d6a8e0ffeaa56a44f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 1 Mar 2025 19:26:05 +0100 Subject: ... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sshexec/Makefile | 10 ++++++++++ sshexec/sshexec-archiso | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 sshexec/Makefile create mode 100755 sshexec/sshexec-archiso (limited to 'sshexec') diff --git a/sshexec/Makefile b/sshexec/Makefile new file mode 100644 index 0000000..c2be226 --- /dev/null +++ b/sshexec/Makefile @@ -0,0 +1,10 @@ +.POSIX: + +install: + mkdir -p -- ~/.local/bin + test ! -e ~/.local/bin/sshexec-archiso || test -L ~/.local/bin/sshexec-archiso + ln -sf -- ~/.dotfiles/sshexec/sshexec-archiso ~/.local/bin/sshexec-archiso + +uninstall: + +! ../check-installed sshexec + -unlink -- ~/.local/bin/sshexec-archiso diff --git a/sshexec/sshexec-archiso b/sshexec/sshexec-archiso new file mode 100755 index 0000000..303726c --- /dev/null +++ b/sshexec/sshexec-archiso @@ -0,0 +1,5 @@ +#!/bin/sh + +printf '\033[1m%s\033[m\n\n' 'The password is simply "arch"' >&2 + +exec sshexec -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@archiso "$@" -- cgit v1.2.3-70-g09d2