lyhiving/sshconf

PHP ssh config parser

Maintainers

Package info

github.com/lyhiving/sshconf

pkg:composer/lyhiving/sshconf

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1 2022-04-20 09:50 UTC

This package is auto-updated.

Last update: 2026-02-20 18:30:08 UTC


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());

CLI

Notes

Main part from@m4rku5. I had make it easy to use.