Skip to content

Commit b6dd3fc

Browse files
committed
faq CHANGE mention problems with specific libssh versions
1 parent 6306736 commit b6dd3fc

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

FAQ.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,20 @@ __A:__ The most likely reason for this is that the SSH key that is used
1919
for this session authentication uses an algorithm not supported by
2020
your system. The supported algorithms are automatically loaded by *libssh*
2121
from OpenSSH configuration files (more info in `ssh_config(5)` and `sshd_config(5)`).
22+
23+
__Q: When I try to connect to a server I immediately get a timeout after authenticating:__
24+
25+
__A:__ You are probably using *libssh* version 0.9.3 that includes this
26+
regression bug. To solve it, you must use another version.
27+
28+
__Q: When I connect to a server, after around 10-20 seconds I get disconnected with an error:__
29+
```
30+
[ERR]: LN: Session 1: inactive read timeout elapsed.
31+
```
32+
33+
__A:__ There are 2 most common reasons for this error. Either you are not using
34+
a NETCONF client to connect (but `ssh(1)`, for example) and the messages received
35+
by the server are not properly formatted (even an additional `\n` can cause this problem).
36+
To fix, use a NETCONF client instead. Another reason may be that you are using *libssh*
37+
version 0.9.4. It includes a regression bug that causes this problem and you must use
38+
another version to fix it.

0 commit comments

Comments
 (0)