I am trying to connect two computers using ssh via internet.
One is desktop and another is laptop. They both are running debian wheezy with ssh installed.
At first, let me mention how I do for internet connection.
To go online on the Desktop or Laptop, I enable data packet and wifi hotspot of my android phone.
Then I make computer receives wifi from android and enjoy internet connection.
In my testing, I can do "remote login" each other if both computers are receiving same wifi from only one andorid phone.
It can be ok even if data packet on the android phone is disabled.
But, if I arrange two computers receive different wifi respectively from two android phones with data packets enabled,
I can't do "remote login". The message I get is
Quote:
msh@dbndst:~$ ssh msh@debian
ssh: connect to host debian port 22: No route to host
|
(Laptop's hostname is just debian and Desktop's hostname is dbndst)
How can I do "remote login" between them using two different phone.
(Note: using phone for internet connection is only one option available for me)