@@ -117,7 +117,7 @@ make sure that you have a suitable SSH client installed. On Debian/Ubuntu-based
117117systems, you may simply install it like this:
118118
119119``` bash
120- $ sudo apt install openssh-client
120+ sudo apt install openssh-client
121121```
122122
123123Its constructor simply accepts an SSH proxy server URL:
@@ -190,7 +190,7 @@ have a suitable SSH client installed. On Debian/Ubuntu-based systems, you may
190190simply install it like this:
191191
192192``` bash
193- $ sudo apt install openssh-client
193+ sudo apt install openssh-client
194194```
195195
196196Its constructor simply accepts an SSH proxy server URL:
@@ -511,7 +511,7 @@ can access your SSH proxy server on the command line like this:
511511
512512``` bash
513513# test SSH access
514- $ ssh alice@example.com echo hello
514+ ssh alice@example.com echo hello
515515```
516516
517517Because this class is designed to be used to create any number of connections,
@@ -537,7 +537,7 @@ For this to work, you will have to have the `sshpass` binary installed. On
537537Debian/Ubuntu-based systems, you may simply install it like this:
538538
539539``` bash
540- $ sudo apt install sshpass
540+ sudo apt install sshpass
541541```
542542
543543Note that both the username and password must be percent-encoded if they contain
@@ -560,7 +560,7 @@ This project follows [SemVer](https://semver.org/).
560560This will install the latest supported version:
561561
562562``` bash
563- $ composer require clue/reactphp-ssh-proxy:^1.3
563+ composer require clue/reactphp-ssh-proxy:^1.4
564564```
565565
566566See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
@@ -575,15 +575,15 @@ client binary, so you'll have to make sure that you have a suitable SSH client
575575installed. On Debian/Ubuntu-based systems, you may simply install it like this:
576576
577577``` bash
578- $ sudo apt install openssh-client
578+ sudo apt install openssh-client
579579```
580580
581581Additionally, if you use [ password authentication] ( #password-authentication )
582582(not recommended), then you will have to have the ` sshpass ` binary installed. On
583583Debian/Ubuntu-based systems, you may simply install it like this:
584584
585585``` bash
586- $ sudo apt install sshpass
586+ sudo apt install sshpass
587587```
588588
589589* Running on [ Windows is currently not supported] ( https://github.com/clue/reactphp-ssh-proxy/issues/12 ) *
@@ -594,13 +594,13 @@ To run the test suite, you first need to clone this repo and then install all
594594dependencies [ through Composer] ( https://getcomposer.org/ ) :
595595
596596``` bash
597- $ composer install
597+ composer install
598598```
599599
600600To run the test suite, go to the project root and run:
601601
602602``` bash
603- $ vendor/bin/phpunit
603+ vendor/bin/phpunit
604604```
605605
606606The test suite contains a number of tests that require an actual SSH proxy server.
@@ -610,8 +610,8 @@ environment and prefix this with a space to make sure your login credentials are
610610not stored in your bash history like this:
611611
612612``` bash
613- $ export SSH_PROXY=alice:password@example.com
614- $ vendor/bin/phpunit
613+ export SSH_PROXY=alice:password@example.com
614+ vendor/bin/phpunit
615615```
616616
617617## License
0 commit comments