� ngel Gutiérrez Rodríguez <
ange...@terra.es> wrote:
> dispatch_protocol_error: type 100 seq 9
> buffer_get_ret: trying to get more bytes 4 than in buffer 0
> buffer_get_int: buffer error
>
> that gets solved with the client's option:
>
> ForwardAgent no
'Type 100' might well refer to the SSH-2 protocol message that has
type code 100, which is SSH2_MSG_CHANNEL_FAILURE. That message might
well be generated in response to an attempt by the client to enable
agent forwarding; and that message should indeed contain four bytes
(the id of the channel on which a request failed) and it would be
erroneous for it to contain zero bytes instead (the client wouldn't be
able to tell which channel it referred to, in cases where more than
one was active).
So it looks to me as if this is a bug in your particular SSH server,
causing it to format SSH2_MSG_CHANNEL_FAILURE messages incorrectly by
failing to include the channel id. You don't mention what server
software you're using (though adding '-v' to your ssh command line
would at least show the version string it sent at startup), but
whatever it is, you should report this as a bug in that server
software.
The 'good' news is that if the server was _trying_ to send
SSH2_MSG_CHANNEL_FAILURE in response to your agent forwarding request,
that means it doesn't support agent forwarding anyway, so this bug
isn't preventing you from accessing functionality you would otherwise
have had.
> I've tried to put that in /etc/ssh/ssh_config and in .ssh/config but
> ssh
ro...@192.168.3.5
> gives the same error. Nonetheless, I am able to make it work with
> ssh
ro...@192.168.3.5 -F .ssh/config
[...]
You could try adding 'ForwardX11Trusted no' in your ~/.ssh/ssh_config
file. The 'ForwardX11Trusted yes' in /etc/ssh/ssh_config might be the
problem: a request for X forwarding also has the form of an SSH-2
channel request, so it might provoke the same server bug as
ForwardAgent.
--
Simon Tatham These are my opinions. There are many
<
ana...@pobox.com> like them but these ones are mine.