Skip to content

taghouti/CI_SSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CI_SSH Codigniter 3 SSH library integration

This library based on the phpseclib project.

Installation

just move the SSH.php file and the ssh folder into your libraries folder, this code tested with PHP 7.2.

Usage example

$this->load->library('SSH', array(  
  'host' => 'your.host',  
  'user' => 'username',  
  'pass' => 'password',
  'port' => 'port'  
));  
echo $this->ssh->exec('pwd');  
echo $this->ssh->exec('ls -la');

About

CI_SSH Codigniter 3 SSH library integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages