2017 © Pedro Peláez
 

library codeception-secureshell

Codeception extension providing SSH capabilitie: SSH command, SSH file transfer, SSH tunneling

image

edno/codeception-secureshell

Codeception extension providing SSH capabilitie: SSH command, SSH file transfer, SSH tunneling

  • Saturday, March 31, 2018
  • by edno
  • Repository
  • 2 Watchers
  • 1 Stars
  • 547 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 4 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

This repo is not maintained. For a more recent version, please refer to dianaolaru/codeception-secureshell., (*1)


Codeception Secure Shell

Latest Version Dependency Status Build Status SensioLabs Insight Scrutinizer Code Quality Coverage Status GitHub license, (*2)

The Codeception module for SSH commands, SFTP access and SSH tunnels, (*3)

If you just need a SFTP connection, please consider the in-built Codeception FTP module., (*4)

Roadmap

  • [x] 0.1: Basic commands for testing remote file system and commands
  • [ ] 0.2: Tunnel commands
  • [ ] 0.3: Services and advanced commands

Minimum Requirements

Installation

The module can be installed using Composer, (*5)

$ composer require edno/codeception-secureshell

Be sure to enable the module as shown in configuration below., (*6)

Configuration

Enabling Secure Shell is done in your configuration file .yml., (*7)

module:
    enabled:
        - Codeception\Extension\SecureShell

Parameters

By default the module always accepts the host public key fingerprint., (*8)

You can enable a strict mode where only known hosts will be accepted by setting the configuration parameter StrictHostKeyChecking to true.
Once enabled, the module will verify the host fingerprint against a known_hosts file located at the root directory of your Codeception project., (*9)

modules:
    config:
        Codeception\Extension\SecureShell:
            StrictHostKeyChecking: true

If you want to reuse an existing known_hosts file, you can use the parameter KnownHostsFile for specifying the location of the file., (*10)

modules:
    config:
        Codeception\Extension\SecureShell:
            StrictHostKeyChecking: true
            KnownHostsFile: '/etc/ssh/known_hosts'

The file must respect the OpenSSH ~/.ssh/known_hosts format., (*11)

Documentation

Documentation is available in the wiki List of commands and methods., (*12)

The Versions

31/03 2018

dev-master

9999999-dev https://github.com/edno/codeception-secureshell

Codeception extension providing SSH capabilitie: SSH command, SSH file transfer, SSH tunneling

  Sources   Download

MIT

The Requires

 

The Development Requires

by Greg Heitz

extension ssh codeception scp

03/07 2016

0.1.0

0.1.0.0 https://github.com/edno/codeception-secureshell

Codeception extension providing SSH capabilitie: SSH command, SSH file transfer, SSH tunneling

  Sources   Download

MIT

The Requires

 

The Development Requires

by Greg Heitz

extension ssh codeception scp