Sorry for the trailing list of emails, I just realized the firewall was
preventing the connection. After disabling ssh connection works. However I
would like to ask how I can configure firewall so that I can have ssh
working, instead of simply disabling it.

Semih Ozlem <semihozlemlinuxu...@gmail.com>, 17 Ağu 2020 Pzt, 21:00
tarihinde şunu yazdı:

> also pinging works
>
> Semih Ozlem <semihozlemlinuxu...@gmail.com>, 17 Ağu 2020 Pzt, 20:59
> tarihinde şunu yazdı:
>
>> Regarding previous question on ssh server
>> Both machines are in the same home network, connected to the internet
>> through modem.
>> One machine is running on windows the other on debian. (I tried running
>> the windows machine from debian as well and that did not work either.)
>> When I run localhost on the debian machine, the openssh-server is
>> running, and can connect to it from the same machine.
>> When I run openssh-server on the windows machine, I am able to connect to
>> it from debian.
>> When I run openssh-server from debian, I am not able to connect to it
>> from the other machine regardless of it working as a windows or debian
>> machine.
>>
>>
>> Greg Wooledge <wool...@eeg.ccf.org>, 17 Ağu 2020 Pzt, 20:53 tarihinde
>> şunu yazdı:
>>
>>> On Mon, Aug 17, 2020 at 08:49:11PM +0300, Semih Ozlem wrote:
>>> > I am trying to connect to a debian machine with openssh-server
>>> installed.
>>> > When I try to connect, I get the message "connection timed out". I am
>>> not
>>> > sure if this group is the right place to address this issue, but is
>>> there a
>>> > configuration file that needs to be adjusted to fix the issue. What is
>>> the
>>> > right place to address this question to
>>>
>>> Test locally first: does "ssh localhost" work on the Debian system?  If
>>> so, then you know the service is running and working.
>>>
>>> Test next from another host on the same LAN as the Debian system.  If
>>> that works, then you know there's no firewall preventing access to the
>>> Debian system from the LAN.
>>>
>>> Then test from outside the LAN.
>>>
>>> You've given no details.  How are the client and the server connected?
>>> What command are you running on the client?  Specifically, what hostname
>>> or IP address are you using on the client?  If it's a hostname, is DNS
>>> resolving it correctly?  Are you able to ping the Debian system from the
>>> client?
>>>
>>>

Reply via email to