https://github.com/defstudio/ssh-client
A Laravel SSH2 wrapper
https://github.com/defstudio/ssh-client
Last synced: 9 months ago
JSON representation
A Laravel SSH2 wrapper
- Host: GitHub
- URL: https://github.com/defstudio/ssh-client
- Owner: defstudio
- License: mit
- Created: 2022-01-08T10:35:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-06-16T22:47:56.000Z (11 months ago)
- Last Synced: 2025-07-16T17:09:57.273Z (10 months ago)
- Language: PHP
- Size: 85 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# A Laravel SSH2 wrapper
[](https://packagist.org/packages/defstudio/ssh-client)
[](https://github.com/defstudio/ssh-client/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://github.com/defstudio/ssh-client/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[](https://packagist.org/packages/defstudio/ssh-client)
Ssh is a lightweight ssh client for laravel
## Installation
You can install the package via composer:
```bash
composer require defstudio/ssh-client
```
## Usage
```php
Ssh::host("192.168.1.99")
->port(22)
->username('foo')
->key('rsa:sfsnsdfknsfdi....')
->execute('reboot');
```
## Testing
```bash
composer test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Fabio Ivona](https://github.com/defstudio)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.