Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

alexhunt7/ssher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

32 Commits

Repository files navigation

ssher

GoDoc Go Report Card

Easily create golang.org/x/crypto/ssh connections in golang, using values from your ssh config file.

Most people will already have configured their ssh connections once for openssh, so why do it again manually?

This package is essentially a wrapper around https://github.com/kevinburke/ssh_config, which attempts to automatically load all required values from your ~/.ssh/config.

Currently supported options:

  • Ciphers
  • ConnectTimeout
  • HostKeyAlgorithms
  • Hostname
  • IdentityFile
  • KexAlgorithms
  • MACs
  • Port
  • User
  • UserKnownHostsFile

Currently, only public key auth is attempted and only one IdentityFile will be used. Host key checking is enforced. Any limitations that apply to https://github.com/kevinburke/ssh_config also apply here (currently no support for +value syntax).

This module is not ready for production use.

About

Easily create ssh connections in golang using values from your ssh config file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /