diff options
Diffstat (limited to 'usr/src/pinyadmin/bin')
-rwxr-xr-x | usr/src/pinyadmin/bin/readkey | 3 | ||||
-rwxr-xr-x | usr/src/pinyadmin/bin/writekey | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/usr/src/pinyadmin/bin/readkey b/usr/src/pinyadmin/bin/readkey new file mode 100755 index 0000000..745bd8d --- /dev/null +++ b/usr/src/pinyadmin/bin/readkey @@ -0,0 +1,3 @@ +#!/bin/sh + +/bin/cat ~/.ssh/authorized_keys 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 |