libssh
libssh
LibSSH implementation in Crystal Lang
Installation
RedHat
sudo yum install libssh-devel
Debian / Ubuntu
sudo apt install libssh-dev
MAC OS
brew install libssh
-
Add the dependency to your
shard.yml
:dependencies: libssh: github: xtokio/libssh
-
Run
shards install
Usage
require "libssh"
session = LibSSH.connect("example.com","user","password")
response = LibSSH.execute_command(session,"ls -aslh")
LibSSH.close_session(session)
puts response
Contributing
- Fork it (https://github.com/xtokio/libssh/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Luis Gomez - creator and maintainer
Repository
libssh
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- 4 months ago
- July 11, 2024
License
MIT License
Links
Synced at
Fri, 22 Nov 2024 14:43:52 GMT
Languages