Comments (10)
What a speed, yeah, sure
I've tried ssh -R 15151:127.0.0.1:15151 -J ...
, also tried on 0.0.0.0
, then in the terminal window I just accessed port 15151 with curl http://127.0.0.1:15151
Those are server logs since the moment of client connection till the error
2023/09/19 17:17:26 Loading files from /opt/reverse_ssh/bin
2023/09/19 17:17:26 Version: v2.2.2
2023/09/19 17:17:26 Listening on 0.0.0.0:443
2023/09/19 17:17:26 Loading private key from: /opt/reverse_ssh/bin/id_ed25519
2023/09/19 17:17:26 Server key fingerprint: a2d4576a4bb4e44f19fe6bb4759ddb2dea8be739f736ea0e332d61a592a47217
2023/09/19 17:17:26 Loading authorized keys from: /opt/reverse_ssh/bin/authorized_keys
2023/09/19 17:17:26 Was unable to read webhooks configuration file
2023/09/19 17:17:26 Started Web Server
2023/09/19 17:17:34 [192.168.0.2:51341] INFO sshd.go:360 acceptConn() : New controllable connection with id 2d630cbd1396f24816d0d5d7be858ab5b1176099
2023/09/19 17:18:04 [[::1]:35466] INFO sshd.go:324 acceptConn() : New User SSH connection, version SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.3
2023/09/19 17:18:04 [[::1]:35466] INFO global.go:118 RegisterChannelCallbacks() : Handling channel: direct-tcpip
Regarding the dying server connection, I think that's probably bc I forcefully closed open RSSH terminal session bc it hangs my terminal after the WARNING: Server requests forwarding for unknown listen_port
, but I believe it's just a terminal issue and has nothing to do with RSSH
from reverse_ssh.
Ah cool I've fixed it. Give me one moment and I'll do a release
from reverse_ssh.
Howdy.
Can you also give me the ssh command you used to get this error?
Definitely off that the server connection is dying for the client.
Could you give me server logs for this?
from reverse_ssh.
Cool I can replicate this. Not sure how its broken yet.
from reverse_ssh.
Is it global or happens only on specific OpenSSH client versions? I've searched yesterday and found kinda similar issue with remote forwarding, for the guy there it was broken on 7.9 or smth like that but on 5.5 it worked as expected, didn't test lower client versions tho' and it was about normal ssh server, not RSSH. Maybe there are minor changes in OpenSSH forwarding logic
Will try to find it again if needed
from reverse_ssh.
Actually, I may have to take that replication back. Turns out I've found another weirdness when you dont define localhost as 127.0.0.1 on a machine it can cause failure to open.
from reverse_ssh.
Ah no I can, its just a little different then I first thought
from reverse_ssh.
I've tried ssh -R
with [PORT]:[localhost/127.0.0.1/0.0.0.0/other interface IP]:[PORT]
, didn't work for all cases, the last server log is for ssh -R 15151:127.0.0.1:15151
from reverse_ssh.
Oh jeez, you're awesome, thanks for such a quick response and fix, and for such an amazing tool
from reverse_ssh.
All done!
from reverse_ssh.
Related Issues (20)
- Running `link` with garble multiple times for windows fails HOT 12
- Unstable crashes when gvisor (VPN tun) active HOT 1
- Timeout on rssh HOT 13
- Add flag to disable CGO in the `link` command
- link --name documentation is unintuitive HOT 1
- Problems with protocol judgement HOT 1
- Add shellcode generation for client both for windows x86 and x64 and linux HOT 5
- RSSH client over TLS
- Use http_proxy / https_proxy environment variables automatically on clients HOT 1
- shellcode generation HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference HOT 14
- How can I use tls and wss HOT 3
- Bug in using python script on windows client HOT 2
- Client execution error under amd64 mac computer (upx issue) HOT 6
- Webserver disconnects when downloading more than 10MB client HOT 4
- The client supports opening an http proxy server HOT 4
- Dynamic Reverse Forwarding from Plain SSH Client HOT 1
- remark HOT 5
- refer Windows DLL ,is it support linux so generate?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reverse_ssh.