Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Usage

### Configuration of the connection

To etablish an SSH connection, you must firt define its configuration.
To establish an SSH connection, you must first define its configuration.
For that, create a Configuration instance with all the needed parameters.

```php
Expand All @@ -32,12 +32,12 @@ For that, create a Configuration instance with all the needed parameters.
$configuration = new Ssh\Configuration('my-host');
```

The availble configration classes are:
The available configuration classes are:

- `Configuration`
- `SshConfigFileConfiguration`

Both connection configuration and public/private key authetication can be obtained from a ssh config file such as `~/.ssh/config`
Both connection configuration and public/private key authentication can be obtained from a ssh config file such as `~/.ssh/config`

```php
<?php
Expand Down Expand Up @@ -115,7 +115,7 @@ See the `Ssh\Sftp` class for more details on the available methods.

#### Publickey

The session provides also the `getPublickey()` method to access the publickey subsystem:
The session also provides the `getPublickey()` method to access the publickey subsystem:

```php
<?php
Expand Down