Jump to content

SSH without relay server?


siftyy

Recommended Posts

Just as the title said, is there a way to directly ssh into the pineapple from something like my phone? I'm asking this because I am very mobile at the moment and don't have a lot of time to sit down and work with my pineapple.

Link to comment
Share on other sites

I'm using ServerAuditor on my iPhone (*SPIT*) but I would highly recommend using screen as much as possible.

The whole concept of just not giving a shit wether or not the link gets severed is great for peace of mind.

I tend to run OpenSSH on port 443 which my router simply port-forwards. Encrypted traffic is expected on that port so the work proxy lets it pass. :-)

Edited by Cooper
Link to comment
Share on other sites

and i take it this is a command in SSH that i have to do to set that up then unplug the Ethernet cable?

You need network access to the pineapple in order to connect to it. I assume you want to disconnect the cat-5 cable, but still have the pineapple connected to the local network (and the internet) via one of the pineapple's wireless interfaces. Is that the question?

To do that via the web interface, go into the Network infusion, select the Client Mode tab and connect to a local AP just as you would your laptop or phone. (This can also be done via the WiFi Manager infusion.) Once your pineapple is connected to the local AP, make a note of its IP and ssh (or browse) to that. (You can then disconnect the cable and still have access.)

You could also set up the pineapple as an AP (again using the Network or WiFi Manager infusions), connect your laptop to that, and ssh to 172.16.42.1. But you'll need Client Mode (or the cable) anyway to get your pineapple on the network.

(As a next step, when my pineapple boots, it uses the autossh service to create two port forward tunnels (22 & 1471) to a "relay server" I have set up. So I can SSH or browse in from anywhere, not just a local network.)

Did siftyy's question get answered?

Edited by fringes
Link to comment
Share on other sites

You need network access to the pineapple in order to connect to it. I assume you want to disconnect the cat-5 cable, but still have the pineapple connected to the local network (and the internet) via one of the pineapple's wireless interfaces. Is that the question?

To do that via the web interface, go into the Network infusion, select the Client Mode tab and connect to a local AP just as you would your laptop or phone. (This can also be done via the WiFi Manager infusion.) Once your pineapple is connected to the local AP, make a note of its IP and ssh (or browse) to that. (You can then disconnect the cable and still have access.)

You could also set up the pineapple as an AP (again using the Network or WiFi Manager infusions), connect your laptop to that, and ssh to 172.16.42.1. But you'll need Client Mode (or the cable) anyway to get your pineapple on the network.

(As a next step, when my pineapple boots, it uses the autossh service to create two port forward tunnels (22 & 1471) to a "relay server" I have set up. So I can SSH or browse in from anywhere, not just a local network.)

Did siftyy's question get answered?

All of these replies were great, but Fringes hit the nail on the head, thank you so much for your answer!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...