Giter Club home page Giter Club logo

Comments (10)

itschesko avatar itschesko commented on August 11, 2024 1

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.

NHAS avatar NHAS commented on August 11, 2024 1

Ah cool I've fixed it. Give me one moment and I'll do a release

from reverse_ssh.

NHAS avatar NHAS commented on August 11, 2024

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.

NHAS avatar NHAS commented on August 11, 2024

Cool I can replicate this. Not sure how its broken yet.

from reverse_ssh.

itschesko avatar itschesko commented on August 11, 2024

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.

NHAS avatar NHAS commented on August 11, 2024

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.

NHAS avatar NHAS commented on August 11, 2024

Ah no I can, its just a little different then I first thought

from reverse_ssh.

itschesko avatar itschesko commented on August 11, 2024

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.

itschesko avatar itschesko commented on August 11, 2024

Oh jeez, you're awesome, thanks for such a quick response and fix, and for such an amazing tool

from reverse_ssh.

NHAS avatar NHAS commented on August 11, 2024

All done!

from reverse_ssh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.