Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The earth is like a tiny grain of sand, only much, much heavier.


devel / comp.unix.shell / ssh: Weird error message

SubjectAuthor
* ssh: Weird error messageKenny McCormack
`- Re: ssh: Weird error messageChristian Weisgerber

1
ssh: Weird error message

<timntj$2td8i$1@news.xmission.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5744&group=comp.unix.shell#5744

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gaze...@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.shell
Subject: ssh: Weird error message
Date: Tue, 18 Oct 2022 17:31:31 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <timntj$2td8i$1@news.xmission.com>
Injection-Date: Tue, 18 Oct 2022 17:31:31 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="3061010"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Tue, 18 Oct 2022 17:31 UTC

First note: Everything works fine, but the below message is displayed.
Alternative title for this thread: Spurious error messages for $200, Alex.

$ # I have an agent setup to do passwordless connection and have SSH_AUTH_SOCK set appropriately...
$ ssh someHost
agent key RSA SHA256:jp......................................... returned incorrect signature type

After which it connects to the remote host and everything is fine.

What (if anything) does this message mean?

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/DanQuayle

Re: ssh: Weird error message

<slrntkua1t.27u7.naddy@lorvorc.mips.inka.de>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5745&group=comp.unix.shell#5745

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: nad...@mips.inka.de (Christian Weisgerber)
Newsgroups: comp.unix.shell
Subject: Re: ssh: Weird error message
Date: Tue, 18 Oct 2022 22:27:09 -0000 (UTC)
Message-ID: <slrntkua1t.27u7.naddy@lorvorc.mips.inka.de>
References: <timntj$2td8i$1@news.xmission.com>
Injection-Date: Tue, 18 Oct 2022 22:27:09 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
logging-data="73672"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
 by: Christian Weisgerber - Tue, 18 Oct 2022 22:27 UTC

On 2022-10-18, Kenny McCormack <gazelle@shell.xmission.com> wrote:

> $ # I have an agent setup to do passwordless connection and have SSH_AUTH_SOCK set appropriately...
> $ ssh someHost
> agent key RSA SHA256:jp......................................... returned incorrect signature type
>
> After which it connects to the remote host and everything is fine.

I would use "ssh -vvv" to see exactly which signature algorithms
are offered and used.

> What (if anything) does this message mean?

My best guess--shakily supported by my reading but only partial
understanding of the relevant OpenSSH code--is that server and
client want to use an rsa-sha2-512 or rsa-sha2-256 signature, but
the agent can't handle those algorithms, and all parties fall back
to using ssh-rsa.

That in turn would imply that the agent is out of sync with the
client: A forwarding chain starting from a host with a truly ancient
ssh-agent? A poor replacement for ssh-agent, maybe gpg-agent? Some
PKCS#11 token?

--
Christian "naddy" Weisgerber naddy@mips.inka.de

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor