summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorjrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu>2010-10-11 20:52:59 -0700
committerjrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu>2010-10-11 20:52:59 -0700
commit2d90167e054a7dbbf2ccb1bb68e0160c355b1b8c (patch)
tree3e2257815e1fe7ff7febf9204faeacbca4cc4858 /usr
parentb42b46d4391c0452f0bb883636983d13b2ace237 (diff)
downloadpiny-code-2d90167e054a7dbbf2ccb1bb68e0160c355b1b8c.tar.gz
piny-code-2d90167e054a7dbbf2ccb1bb68e0160c355b1b8c.zip
Add an 'appendkeys' command.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/src/pinyadmin/bin/appendkeys5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/pinyadmin/bin/appendkeys b/usr/src/pinyadmin/bin/appendkeys
new file mode 100755
index 0000000..a4b7d98
--- /dev/null
+++ b/usr/src/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