summaryrefslogtreecommitdiff
path: root/pinyadmin/bin/writekeys
diff options
context:
space:
mode:
Diffstat (limited to 'pinyadmin/bin/writekeys')
-rwxr-xr-xpinyadmin/bin/writekeys5
1 files changed, 5 insertions, 0 deletions
diff --git a/pinyadmin/bin/writekeys b/pinyadmin/bin/writekeys
new file mode 100755
index 0000000..61a7760
--- /dev/null
+++ b/pinyadmin/bin/writekeys
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+/bin/mkdir -p ~/.ssh
+/bin/echo Please input all authorized keys. ctrl-d to finish, ctrl-c to abort.
+/usr/bin/sponge ~/.ssh/authorized_keys