diff mbox

[wwwdocs] Document how to add a new SSH key

Message ID alpine.LSU.2.20.1512222157000.2651@anthias
State New
Headers show

Commit Message

Gerald Pfeifer Dec. 22, 2015, 1:59 p.m. UTC
Jan (Beulich) ran into this, and indeed I could not find it
documented.  So I added it. ;-)

Applied.

Gerald

Comments

Toon Moene Dec. 23, 2015, 7:42 p.m. UTC | #1
On 12/22/2015 02:59 PM, Gerald Pfeifer wrote:

> Jan (Beulich) ran into this, and indeed I could not find it
> documented.  So I added it. ;-)

> +ssh <i>username</i>@gcc.gnu.org append-key < KEYFILE

Hmm, I get:

toon@moene:~$ ssh toon@gcc.gnu.org append-key < .ssh/id_dsa.pub
/home/toon/.ssh/config line 3: Bad protocol spec '1'.

toon@moene:~$ cat .ssh/config
Host gcc.gnu.org
ForwardX11 no
Protocol 1

Any hints ?
Marc Glisse Dec. 23, 2015, 7:57 p.m. UTC | #2
On Wed, 23 Dec 2015, Toon Moene wrote:

> On 12/22/2015 02:59 PM, Gerald Pfeifer wrote:
>
>> Jan (Beulich) ran into this, and indeed I could not find it
>> documented.  So I added it. ;-)
>
>> +ssh <i>username</i>@gcc.gnu.org append-key < KEYFILE
>
> Hmm, I get:
>
> toon@moene:~$ ssh toon@gcc.gnu.org append-key < .ssh/id_dsa.pub
> /home/toon/.ssh/config line 3: Bad protocol spec '1'.
>
> toon@moene:~$ cat .ssh/config
> Host gcc.gnu.org
> ForwardX11 no
> Protocol 1
>
> Any hints ?

Wild guess (that you are using debian testing or unstable):

apt-get install openssh-client-ssh1
ssh1 toon@gcc.gnu.org ...
Toon Moene Dec. 23, 2015, 8:21 p.m. UTC | #3
On 12/23/2015 08:57 PM, Marc Glisse wrote:

> On Wed, 23 Dec 2015, Toon Moene wrote:
>
>> On 12/22/2015 02:59 PM, Gerald Pfeifer wrote:

>>> +ssh <i>username</i>@gcc.gnu.org append-key < KEYFILE
>>
>> Hmm, I get:
>>
>> toon@moene:~$ ssh toon@gcc.gnu.org append-key < .ssh/id_dsa.pub
>> /home/toon/.ssh/config line 3: Bad protocol spec '1'.
>>
>> toon@moene:~$ cat .ssh/config
>> Host gcc.gnu.org
>> ForwardX11 no
>> Protocol 1
>>
>> Any hints ?
>
> Wild guess (that you are using debian testing or unstable):
>
> apt-get install openssh-client-ssh1
> ssh1 toon@gcc.gnu.org ...

You are probably right. In stead of going backwards, I sent a new key to 
the overseers ...

Thanks,
diff mbox

Patch

--- svnwrite.html.orig	2015-04-06 20:15:18.000000000 +0800
+++ svnwrite.html	2015-12-22 17:07:33.636074381 +0800
@@ -420,6 +420,10 @@ 
 ssh <i>username</i>@gcc.gnu.org email mynewaddress@example.com
 </pre></blockquote>
 
+<p>Similarly if you want to add a new SSH key to your account:</p>
+<blockquote><pre>
+ssh <i>username</i>@gcc.gnu.org append-key < KEYFILE
+</pre></blockquote>
 
 </body>
 </html>