Skip to content

Latest commit

 

History

History
75 lines (51 loc) · 1.1 KB

File metadata and controls

75 lines (51 loc) · 1.1 KB

SSH

  • class SSH (ssh\SSH)
  • package ssh
  • source ssh/SSH.php

Description

Class SSH


Methods


Methods

__construct()

__construct(): void

getSession()

getSession(string $username, string $host, int $port): ssh\SSHSession

openSession()

openSession(string $host, int $port): ssh\SSHSession

setKnownHosts()

setKnownHosts(Stream|File|string $source): void

addIdentity()

addIdentity(string $prvkey, string $passphrase): void

removeAllIdentity()

removeAllIdentity(): void