summaryrefslogtreecommitdiff
path: root/pinyadmin/bin/appendkeys
diff options
context:
space:
mode:
Diffstat (limited to 'pinyadmin/bin/appendkeys')
-rwxr-xr-xpinyadmin/bin/appendkeys5
1 files changed, 5 insertions, 0 deletions
diff --git a/pinyadmin/bin/appendkeys b/pinyadmin/bin/appendkeys
new file mode 100755
index 0000000..a4b7d98
--- /dev/null
+++ b/pinyadmin/bin/appendkeys
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+/bin/mkdir -p ~/.ssh
+/bin/echo Please input authorized keys to be appended. ctrl-d to finish, ctrl-c to abort current line.
+/bin/cat >> ~/.ssh/authorized_keys