Sinisterly
Reverse SSH HELP - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Computers (https://sinister.li/Forum-Computers)
+--- Forum: Networking (https://sinister.li/Forum-Networking)
+--- Thread: Reverse SSH HELP (/Thread-Reverse-SSH-HELP)



Reverse SSH HELP - YassinowHacks - 02-25-2020

Is there someone who can learn me about Reverse SSH'ing? I want to have acces to my work computer while i'm at home...


RE: Reverse SSH HELP - zn0 - 02-26-2020

I think what you mean is just SSH. First you have to set up an SSH server on your work computer, and then connect to it from your computer at home using an SSH client. Make sure the port you're running your SSH server on is open/port-forwarded so you can reach it from anywhere, otherwise it's not going to work.


RE: Reverse SSH HELP - YassinowHacks - 02-28-2020

(02-26-2020, 10:41 PM)zn0 Wrote: I think what you mean is just SSH. First you have to set up an SSH server on your work computer, and then connect to it from your computer at home using an SSH client. Make sure the port you're running your SSH server on is open/port-forwarded so you can reach it from anywhere, otherwise it's not going to work.

Can i set up the SSH server on my work computer without administrator rights or is it needed? And I can let it listen with just 1 command right?


RE: Reverse SSH HELP - sybylroot - 02-28-2020

(02-28-2020, 11:01 PM)YassinowHacks Wrote:
(02-26-2020, 10:41 PM)zn0 Wrote: I think what you mean is just SSH. First you have to set up an SSH server on your work computer, and then connect to it from your computer at home using an SSH client. Make sure the port you're running your SSH server on is open/port-forwarded so you can reach it from anywhere, otherwise it's not going to work.

If you not know much of the theme just use VNC it's a alternative to RDP & SSH, of course you can set-up an SSH shell but it takes more work to run it (for example if the place your work have port filtering and things like that), you can use any RAT too but is at your own risk....
Can i set up the SSH server on my work computer without administrator rights or is it needed? And I can let it listen with just 1 command right?



RE: Reverse SSH HELP - Request - 02-29-2020

(02-25-2020, 01:14 PM)YassinowHacks Wrote: I want to have acces to my work computer while i'm at home...
I think it's important to mention that if you're going to create a door to your work computer that you at least secure it using private keys. If you can't access it remotely by default you're probably not meant to for security reasons.

You probably also do not need to be using a reverse shell, why not use a VPN? There are plenty of clients that do not require admin privileges to use/install (portable install.)

What operating system is the computer running?

To set up OpenSSH (Typical on *nix systems) for reverse SSH see this.
To set up OpenVPN for regular SSH via VPN see this.



RE: Reverse SSH HELP - gogreendv - 04-01-2020

Do you mean's SSH Tunnel?


RE: Reverse SSH HELP - YassinowHacks - 04-02-2020

(04-01-2020, 03:07 PM)gogreendv Wrote: Do you mean's SSH Tunnel?

Yes


RE: Reverse SSH HELP - DedSpace - 07-17-2020

You can do this using serveo, a service to forward local ports to the WAN.  First, make sure your SSH service is running on your work PC.  On Linux:

Code:
service ssh start

You might need admin privileges to do this, but it might already be running.  Then forward your work PC's SSH port, assuming it's running on port 22:

Code:
ssh -R 4567:localhost:22

Then on your home PC (or any other for that matter), you can connect to your work PC:

Code:
ssh -p 4567 YourUserName@serveousercontent.com

I have tested this on  my computer, it works.  Remember, you can't do this if your work PC isn't already listening for SSH connections and you are not allowed to start the service.  Good luck!

EDIT:

Also, check out my serveo automation script: https://sinister.ly/Thread-DedTunnel-Port-Forwarding-Solution-Using-Serveo--122248

There's a link to my github repo there and full instructions on how to get it running.


RE: Reverse SSH HELP - Tivoli - 08-21-2020

I will give you a hint. Read about remote ssh forwarding. Profit.