lyhiving / sshconf
PHP ssh config parser
v1.1
2022-04-20 09:50 UTC
Requires
- php: >=7.1
- ext-gd: *
README
Read more about SSH config files: https://linux.die.net/man/5/ssh_config
Install
Composer
composer require lyhiving/sshconf
{ "require": { "lyhiving/sshconf": "1.*" } }
Useage
<?php use lyhiving\sshconf\sshconf; $sshconf = new sshconf(__DIR__ . "/#remotessh.txt"); var_dump($sshconf->gets());
Notes
Main part from@m4rku5. I had make it easy to use.