melbahja / goph

🤘 The native golang ssh client to execute your commands over ssh connection. 🚀🚀

Home Page:http://git.io/bfpiw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support SSH config file

MaGaroo opened this issue · comments

Would this package support ssh config file please?

For example with the following configuration, I want to call ssh with myhost host and the package itself autodetect the port, user, etc.:

Host myhost
  HostName 192.168.192.168
  User myuser
  Port 22

Hey @melbahja! This would be really great contribution. I'm looking forward to this.

Any plans to move forward on #34 by @SmsS4.

I also have only SSH config file and don't know how to pass this out to goph. Currently it supports only identity key files. Any workaround or ideas until SSH config get supported?