Skip to main content

parse_settings

Function parse_settings 

Source
pub fn parse_settings(text: &str) -> Settings
Expand description

Read ssh -G output into the handful of fields worth showing.

Unknown keys are ignored rather than refused: ssh -G prints every option OpenSSH has, the list grows with each release, and none of the rest is this daemon’s business.