[neon/snap-packaging/plasma-core-desktop] hooks: Add an admin-console script for convenience
Kevin Ottens
null at kde.org
Wed Apr 23 06:53:42 BST 2025
Git commit 03d34e8c645a57a505a09ceeda1b5cdb9dcaa276 by Kevin Ottens.
Committed on 23/04/2025 at 05:53.
Pushed by ervin into branch 'master'.
Add an admin-console script for convenience
A +11 -0 hooks/500-admin-console.sh
https://invent.kde.org/neon/snap-packaging/plasma-core-desktop/-/commit/03d34e8c645a57a505a09ceeda1b5cdb9dcaa276
diff --git a/hooks/500-admin-console.sh b/hooks/500-admin-console.sh
new file mode 100755
index 0000000..94fe135
--- /dev/null
+++ b/hooks/500-admin-console.sh
@@ -0,0 +1,11 @@
+#!/bin/bash -ex
+
+# Add script to run when opening terminal to ssh localhost
+cat >usr/bin/admin-console<<EOF
+#!/bin/bash
+
+ssh -aXq -o PubkeyAuthentication=no -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no localhost
+EOF
+
+chmod a+x usr/bin/admin-console
+
More information about the Neon-commits
mailing list