PHP code example of r3n0e0 / ssh-config

1. Go to this page and download the library: Download r3n0e0/ssh-config library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

r3n0e0 / ssh-config example snippets


use SshConfig\Config;
$config = Config::parse(file_get_contents('<filepath>'));
var_dump($config);