0

I don't know much about network configuration, but I would like to setup a wifi network in order to ssh between 2 machines running ubuntu. Both machines have their own wifi cards. They will be operating outdoors with no existing wifi or internet access. I am interested in solutions for both short and long range connections. Thank you.

1 Answer 1

0

You need some kind of network connection between the two devices for ssh to work.

You can ssh to a computer on a local network with:

ssh [email protected]

I know this works for devices connected to the same router. I'd presume it's the same situation if you connected the two computers with a cat5/ethernet cable.

3
  • In addition to needing a network connection, you also need to install the openssh-server package on the machines that will be receiving ssh connections, and openssh-client on the machines where you will be running the ssh command. You can install both packages on both machines. Oct 24, 2017 at 22:46
  • Thanks T. Zack and John. I've used openssh to connect on existing networks, but it has failed when I have tried to create my own network and ssh over it. I need to connect wirelessly, one computer will be on a drone. From what I've been reading I think the solution will involve using some type of wireless AP to boost the network I create.
    – BHament
    Oct 25, 2017 at 21:50
  • You can try setting up a Wifi hotspot on one of the machines. Ubuntu supports this
    – Dawoodjee
    Jun 26, 2018 at 7:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .