This is my first time trying to make an SSH tunnel. The purpose is to make an offsite backup our server (server A) in the office which is about 1 mile away.
I have set up all ports on the office server- A, the office office server can easily be SSH'ed to from the other desktop computers in the network so all ports are open, I can also use putty in the office on a windows 10- Home computer and gain access to the server (Server A) as well. UFW rules show port 22 open, and listening.
My offsite server (server B) also has a confirmed open port 22. If i try to access (server A) via putty or directly from the "server B," I get the error below. Ping to "server A" from "Server B" also does not work;
This is happens when I try to send the RSA key from Server B to Server A also;
root@119w:/home/tyran# ssh-copy-id [email protected]
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: ERROR: ssh: connect to host 192.168.1.119 port 22: Connection timed out
I am sure is some type of user error. But I am unsure what to do. I have opened ports or routers, contacted providers, check ufw, confirmed listen, checked ports with outside software which verify they are open yet I cannot connect.
192.168.1.119:22
on the remote LAN. This is really nothing to do with Ubuntu, just basic network configuration - see for example r/HomeNetworking : A guide to port forwarding.