Page MenuHomePhabricator

`ssh_options_parse_config()` mentions non-existent `ssh_options_set_host()`
Closed, ResolvedPublic


The mentioned ssh_options_set_host() was removed in version 0.4.0.

It should be investigated if it is still necessary to have the host set before calling ssh_options_parse_config()

Update the documentation to not mention non-existent API's.

Revisions and Commits

Event Timeline

Jakuje added a subscriber: Jakuje.Apr 22 2020, 9:05 PM

It is still needed as the configuration parsing requires the hostname to evaluate conditional match blocks. But the new API ssh_options_set() should be used and documentation updated accordingly. The documentation should also mention that if it is not called, it is called automatically on connect.

Jakuje claimed this task.May 21 2020, 1:30 PM
Jakuje triaged this task as Low priority.
Jakuje added a project: Restricted Project.