From b42b46d4391c0452f0bb883636983d13b2ace237 Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Fri, 3 Sep 2010 01:53:31 -0700 Subject: Pluralizing key management commands for clarity --- usr/src/pinyadmin/bin/readkey | 3 --- usr/src/pinyadmin/bin/readkeys | 3 +++ usr/src/pinyadmin/bin/writekey | 5 ----- usr/src/pinyadmin/bin/writekeys | 5 +++++ 4 files changed, 8 insertions(+), 8 deletions(-) delete mode 100755 usr/src/pinyadmin/bin/readkey create mode 100755 usr/src/pinyadmin/bin/readkeys delete mode 100755 usr/src/pinyadmin/bin/writekey create mode 100755 usr/src/pinyadmin/bin/writekeys (limited to 'usr') diff --git a/usr/src/pinyadmin/bin/readkey b/usr/src/pinyadmin/bin/readkey deleted file mode 100755 index 745bd8d..0000000 --- a/usr/src/pinyadmin/bin/readkey +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/bin/cat ~/.ssh/authorized_keys diff --git a/usr/src/pinyadmin/bin/readkeys b/usr/src/pinyadmin/bin/readkeys new file mode 100755 index 0000000..745bd8d --- /dev/null +++ b/usr/src/pinyadmin/bin/readkeys @@ -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 deleted file mode 100755 index 61a7760..0000000 --- a/usr/src/pinyadmin/bin/writekey +++ /dev/null @@ -1,5 +0,0 @@ -#!/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 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 -- cgit v1.2.3