Skip to content

Commit 1ed552d

Browse files
committed
Update README.markdown
1 parent 1a2cf40 commit 1ed552d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.markdown

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ The available authentication are:
8585

8686
If you use an ssh config file you can load your authentication and configuration from it as follows:
8787

88-
<?php
88+
```php
89+
<?php
8990

90-
$configuration = new Ssh\SshConfigFileConfiguration('~/.ssh/config', 'my-host');
91+
$configuration = new Ssh\SshConfigFileConfiguration('~/.ssh/config', 'my-host');
9192

92-
$session = new Session($configuration, $configuration->getAuthentication());
93+
$session = new Session($configuration, $configuration->getAuthentication());
94+
```
9395

9496
This will pick up your public and private keys from your config file Host and Identity declarations.
9597

@@ -129,7 +131,7 @@ See the `Ssh\Publickey` class for more details on the available methods.
129131

130132
The session provides the `getExec()` method to access the exec subsystem
131133

132-
```
134+
```php
133135
<?php
134136

135137
// ... the session creation

0 commit comments

Comments
 (0)