summaryrefslogtreecommitdiff
path: root/usr/src/pinyadmin/bin/writekeys
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/pinyadmin/bin/writekeys')
-rwxr-xr-xusr/src/pinyadmin/bin/writekeys5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/pinyadmin/bin/writekeys b/usr/src/pinyadmin/bin/writekeys
new file mode 100755
index 0000000..61a7760
--- /dev/null
+++ b/usr/src/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