Fix readme2

Signed-off-by: Alexander <hi@odyssey346.dev>
This commit is contained in:
Alexander 2023-02-07 15:23:06 +01:00
parent 22308c245b
commit 9fd47657f5
1 changed files with 11 additions and 8 deletions

View File

@ -11,19 +11,22 @@ docker build -t falsessh .
docker run -d --name falsessh -p 2269:22 falsessh:latest
```
Try SSHing into the container.
```bash
ssh user@localhost -p 2269
```
Change the password immediately.
```bash
passwd
docker exec -it --user root falsessh /bin/sh
passwd user
exit
```
Try SSHing into the container.
```bash
ssh user@localhost -p 2269
```
Port forward the SOCKS5 proxy to your local machine.
```bash
ssh -D 1080 -p 2269 user@localhost
ssh -D 1080 -p 2269 user@localhost
```
Then you can configure your browser to use the SOCKS5 proxy on localhost:1080.
@ -32,7 +35,7 @@ You can also port-forward the SSH server from your home network to access the pr
To connect if you're doing above, run this:
```bash
ssh -D 1080 -p 2269 user@<your home network IP>
ssh -D 1080 -p 2269 user@<your home network IP>
```
You can then configure your browser to run the SOCKS5 proxy on localhost:1080. Have fun!