Fix readme2
Signed-off-by: Alexander <hi@odyssey346.dev>
This commit is contained in:
		
							parent
							
								
									22308c245b
								
							
						
					
					
						commit
						9fd47657f5
					
				
							
								
								
									
										19
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								README.md
									
									
									
									
									
								
							| @ -11,19 +11,22 @@ docker build -t falsessh . | |||||||
| docker run -d --name falsessh -p 2269:22 falsessh:latest | 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. | Change the password immediately. | ||||||
| ```bash | ```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. | Port forward the SOCKS5 proxy to your local machine. | ||||||
| ```bash | ```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. | 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: | To connect if you're doing above, run this: | ||||||
| ```bash | ```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! | You can then configure your browser to run the SOCKS5 proxy on localhost:1080. Have fun! | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user