Skip to content

Commit d5c6c66

Browse files
committed
add note about connecting with IPv6
requested with phpseclib/phpseclib#2058
1 parent 6149416 commit d5c6c66

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/connect.md

+4
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ $ssh->login('username', 'password');
8888
echo $ssh->exec('ls -latr');
8989
```
9090

91+
## Connecting to an IPv6 address
92+
93+
When specifying a numerical IPv6 address (e.g. `fe80::1`), you must enclose the IP in square brackets—for example, `tcp://[fe80::1]:22`.
94+
9195
## Binding to a Specific IP Address
9296

9397
```php

0 commit comments

Comments
 (0)