[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to ssh to Debian 9 from 9 or 11



On Sat, Jul 15, 2023 at 11:59:33AM +0200, Roger Price wrote:
> I have three Debian machines on a 192.168.1/24 WiFi network. One is debian
> 11 and the two others are debian 9. The network is connected, I can ping
> from any machine to any other.
> 
> The problem is that I can ssh from the debian 9's to the debian 11, but not
> to any debian 9, although all the machines can ssh to themselves:
> 
> Some ascii art for people with fixed width fonts:
> 
>                    .------OK--->-----debian 11--<--OK------.
>                    | .----<--FAIL---- titan----->--FAIL--. |
>                    | |                                   | |
>                    | v                                   v |
>                    debian 9---------FAIL--->------------debian 9
>                    maria   ---------<---FAIL------------kananga
> 
> # Debian 9 to debian 11: OK
> rprice@kananga:~$ ssh rprice@titan
> Linux titan 5.10.0-15-amd64 #1 SMP Debian 5.10.120-1 (2022-06-09) x86_64 ...
> 
> # Debian 9 to debian 9: FAIL
> rprice@kananga:~$ ssh -v rprice@maria
> OpenSSH_7.4p1 Debian-10+deb9u2, OpenSSL 1.0.2l  25 May 2017
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 19: Applying options for *
> debug1: Connecting to maria [192.168.1.13] port 22.
> debug1: connect to address 192.168.1.13 port 22: Connection timed out
> ssh: connect to host maria port 22: Connection timed out
                                                 ^^^^^^^^^
[...]

OK. We know routing is OK, we also know there's "no one" listening
at port 22 on maria (to the "outside", at least).

To sort out the possible things:

- log in to maria
- try "ssh rprice@localhost": what happens?
  - if it works, there's an ssh daemon running on maria;
    next to check would be
    - is it listening on the external IP address?
    - is there any firewall in front of it?
  - if not, get an SSH daemon up and running on maria
    (that's Debian package openssh-server)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: