Skip to content

Get all settings for a host #56

@kke

Description

@kke

It seems every value needs to be queried separately.

It would be great to have something like:

   host, _ := ssh_config.GetHost("foo")
   fmt.Println(host.IdentityFile)
   fmt.Println(host.StrictHostKeyChecking)
   host.Port = 45
   fmt.Println(host.SSHConfig())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions