anirudhmalik / xhunter-server

143 stars 124 forks source link

custom ssh port #3

Open tehseensagar opened 2 years ago

tehseensagar commented 2 years ago

Greetings,

Well custom listening it does send data via ssh what if port is custom not a default? Nor there is any option for it.

Regards

anirudhmalik commented 2 years ago

Greetings,

Well custom listening it does send data via ssh what if port is custom not a default? Nor there is any option for it.

Regards

Hey @tehseensagar I have hardcoded few params because I don't want it to be confusing and complex for some people.

tehseensagar commented 2 years ago

@anirudhmalik hard code isnt a good idea , you know that. how do add port any idea? you can add option default port 22 and if some one add port it will pickup connection on that port instead of 22.

anirudhmalik commented 2 years ago

@anirudhmalik hard code isnt a good idea , you know that. how do add port any idea? you can add option default port 22 and if some one add port it will pickup connection on that port instead of 22.

https://github.com/anirudhmalik/xhunter/blob/master/src/components/CustomServerConnectingScreen.js Refer to this link

tehseensagar commented 2 years ago

Now I'm lost.

I've downloaded following repository and run on my PC . I'm using custom ssh port. https://github.com/anirudhmalik/xhunter-server

Do I have to download these files as well?

https://github.com/anirudhmalik/xhunter could you guide me please

As far going through the source , connection should be on port 8080 instead of ssh isn't it ? since server started on port 8080 with welcome screen.

anirudhmalik commented 2 years ago

Now I'm lost.

I've downloaded following repository and run on my PC . I'm using custom ssh port. https://github.com/anirudhmalik/xhunter-server

Do I have to download these files as well?

https://github.com/anirudhmalik/xhunter could you guide me please

As far going through the source , connection should be on port 8080 instead of ssh isn't it ? since server started on port 8080 with welcome screen.

Refer here https://goteleport.com/blog/ssh-tunneling-explained/

tehseensagar commented 2 years ago

I might not able to explain it well may be. I know how ssh tunnel works as I said earlier I do have static IP which is accessible with out port forwarding . Now coming to the point, as per your application (PRE-COMPILED-APK) Listening--->Custom Listening--. User(on remote pc) , IP (remote server (ssh_port) , Password. As I asked I'm using your xhunter-server files on my pc which has limited files , do I have to add all files from main repository as well?