@@ -959,14 +959,14 @@ You can start a local SOCKS server by creating a loopback connection to your
959
959
local system if you already run an SSH daemon:
960
960
961
961
``` bash
962
- $ ssh -D 1080 localhost
962
+ ssh -D 1080 localhost
963
963
```
964
964
965
965
Alternatively, you can start a local SOCKS server tunneling through a given
966
966
remote host that runs an SSH daemon:
967
967
968
968
``` bash
969
- $ ssh -D 1080 example.com
969
+ ssh -D 1080 example.com
970
970
```
971
971
972
972
Now you can simply use this SSH SOCKS server like this:
@@ -990,7 +990,7 @@ As an alternative, recent OpenSSH client versions also support
990
990
on Unix file system permissions instead:
991
991
992
992
``` bash
993
- $ ssh -D/tmp/proxy.sock example.com
993
+ ssh -D/tmp/proxy.sock example.com
994
994
```
995
995
996
996
Now you can simply use this SSH SOCKS server like this:
@@ -1047,7 +1047,7 @@ This project follows [SemVer](https://semver.org/).
1047
1047
This will install the latest supported version:
1048
1048
1049
1049
``` bash
1050
- $ composer require clue/socks-react:^1.3
1050
+ composer require clue/socks-react:^1.4
1051
1051
```
1052
1052
1053
1053
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
@@ -1063,20 +1063,20 @@ To run the test suite, you first need to clone this repo and then install all
1063
1063
dependencies [ through Composer] ( https://getcomposer.org/ ) :
1064
1064
1065
1065
``` bash
1066
- $ composer install
1066
+ composer install
1067
1067
```
1068
1068
1069
1069
To run the test suite, go to the project root and run:
1070
1070
1071
1071
``` bash
1072
- $ vendor/bin/phpunit
1072
+ vendor/bin/phpunit
1073
1073
```
1074
1074
1075
1075
The test suite contains a number of tests that rely on a working internet
1076
1076
connection, alternatively you can also run it like this:
1077
1077
1078
1078
``` bash
1079
- $ vendor/bin/phpunit --exclude-group internet
1079
+ vendor/bin/phpunit --exclude-group internet
1080
1080
```
1081
1081
1082
1082
## License
0 commit comments