Turn off UFW (if it's on) on both machines. Make sure sshd is running on the target server. Try to ping your router. Look on your router to get the IP address of both computers. Try to ping the IP. Try to ssh to the IP (you can set the /etc/hosts file for short names, or use an alias $salmo , $caddis = 192....etc.) After that you have to start looking into the ssh_config and the sshd_config. If you're using key pair authentication, the key pair could be in the ~/user/.ssh/ or the /etc/ssh/
Setting this stuff up was a steep learning curve for me that took well over a month, but afterwards I had enough confidence to switch to Linux completely. I'll email you my personal notes help file if you like. - George On Sun, Nov 15, 2026, 12:33 PM Rich Shepard <[email protected]> wrote: > New laptop (since I last used ssh with the desktop). Trying to connect both > ways; neither works. > > hostnames: > desktop salmo > laptop caddis > > I genenerated a keypair (ed_25519) on the laptop; ssh-copy couldn't connect > to salmo (by name or IP address) so I copied caddis' public key to salmo's > .ssh/authorized_keys via a USB thumb drive. > > Then I copied (via USB thumb drive) salmo's public key to caddis' > .ssh/authorized_key files. > > Now from salmo: $ ssh caddis > ssh: connect to host caddis port xxxxx: No route to host > > From caddis: $ ssh salmo > ssh: connect to host salmo port xxxxx: Connection refused > > What have I missed$ And how do I fix it? > > TIA, > > Rich > >
