Skip to content

Commit

Permalink
Document auth with key pair
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineOmega committed Jul 31, 2019
1 parent cb0aad2 commit 366ba9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ $connection = (new SSHConnection())
->onPort(22)
->as('demo')
->withPassword('password')
// ->withKeyPair($publicKeyPath, $privateKeyPath)
->connect();

$command = $connection->run('echo "Hello world!"');
Expand Down

0 comments on commit 366ba9c

Please sign in to comment.