{"repo":"appleboy/easyssh-proxy","free":true,"listed":false,"github":"https://github.com/appleboy/easyssh-proxy","clone":"git clone https://github.com/appleboy/easyssh-proxy.git","description":"easyssh-proxy provides a simple implementation of some SSH protocol features in Go","language":"Go","stars":348,"topics":["ssh","proxy","golang","ssh-proxycommand"],"license":"MIT","category":"networking-infra","readme_excerpt":"easyssh-proxy 繁體中文 easyssh-proxy provides a simple implementation of some SSH protocol features in Go. Feature This project is forked from easyssh but add some features as the following. - [x] Support plain text of user private key. - [x] Support key path of user private key. - [x] Support Timeout for the TCP connection to establish. - [x] Support SSH ProxyCommand. Installation Requirements: Go 1.24 or higher Usage You can see detailed examples of the ssh , scp , Proxy , and stream commands inside the examples folder. MakeConfig All functionality provided by this package is accessed via methods of the MakeConfig struct. MakeConfig takes in the following properties: property description ----------------- ---------------------------------------------------------------------------------------------------------------------------------------------- user The SSH user to be logged in with Server The IP or hostname pointing of the server Key A string containing the private key to be used when making the connection KeyPath The path pointing to the SSH key file to be used when making the connection Port The port to use when connecting to the SSH daemon of the server Protocol The tcp protocol to be used: \"tcp\", \"tcp4\" \"tcp6\" Passphrase The Passphrase to unlock the provided SSH key (leave blank if no Passphrase is required) Password The Password to use to login the specified user Timeout The length of time to wait before timing out the request Proxy An additional set of configuration par","default_branch":null,"files":null,"tree":[],"storefront":"/r/appleboy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/appleboy/easyssh-proxy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}