Skip to content

Commit 3985400

Browse files
committed
mention getServerAlgorithms() in diagnostic page
1 parent 03d6ee2 commit 3985400

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/diagnosis.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,10 @@ SFTP logs can be enabled thusly:
113113
define('NET_SFTP_LOGGING', SFTP::LOG_COMPLEX);
114114
```
115115

116-
The logging options are largely the same as they are for SSH2, with the caveat that there is no analog to `SSH2::LOG_REALTIME_FILE`.
116+
The logging options are largely the same as they are for SSH2, with the caveat that there is no analog to `SSH2::LOG_REALTIME_FILE`.
117+
118+
## getServerAlgorithms()
119+
120+
If you get a "No compatible ... algorithms found" error it may be beneficial to do `$ssh->getServerAlgorithms()`.
121+
122+
You can additionally see the algorithms that were negotiated by doing `$ssh->getAlgorithmsNegotiated()`. See [Using a Custom Cipher Suite](connect.md#using-a-custom-cipher-suite) for more info.

0 commit comments

Comments
 (0)