File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -85,11 +85,13 @@ The available authentication are:
8585
8686If 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
9496This 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
130132The session provides the ` getExec() ` method to access the exec subsystem
131133
132- ```
134+ ``` php
133135<?php
134136
135137// ... the session creation
You can’t perform that action at this time.
0 commit comments