summaryrefslogtreecommitdiff
path: root/usr/src/pinyadmin/bin/writekey
diff options
context:
space:
mode:
authorjrayhawk+piny.be@omgwallhack.org <jrayhawk@piny.svcs.cs.pdx.edu>2010-09-03 01:35:18 -0700
committerjrayhawk+piny.be@omgwallhack.org <jrayhawk@piny.svcs.cs.pdx.edu>2010-09-03 01:35:18 -0700
commit56f8d4ef727bc60852dce48cd149d5d0b71b7324 (patch)
treec677b524b1148be539c4c08f85f508e9aafbe473 /usr/src/pinyadmin/bin/writekey
parentbd628ee4a22ab90a0ce09f5f86c3528bac37b4af (diff)
downloadpiny-code-56f8d4ef727bc60852dce48cd149d5d0b71b7324.tar.gz
piny-code-56f8d4ef727bc60852dce48cd149d5d0b71b7324.zip
Adding SSH key management commands.
Diffstat (limited to 'usr/src/pinyadmin/bin/writekey')
-rwxr-xr-xusr/src/pinyadmin/bin/writekey5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/pinyadmin/bin/writekey b/usr/src/pinyadmin/bin/writekey
new file mode 100755
index 0000000..61a7760
--- /dev/null
+++ b/usr/src/pinyadmin/bin/writekey
@@ -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