Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #226225 > unrolled thread
| Started by | Semih Ozlem <semihozlemlinuxuser@gmail.com> |
|---|---|
| First post | 2020-08-17 19:50 +0200 |
| Last post | 2020-08-17 20:10 +0200 |
| Articles | 11 — 3 participants |
Back to article view | Back to linux.debian.user
openssh-server Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2020-08-17 19:50 +0200
Re: openssh-server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-17 20:00 +0200
Re: openssh-server Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2020-08-17 20:10 +0200
Re: openssh-server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-17 20:20 +0200
Re: openssh-server Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-17 20:40 +0200
Re: openssh-server Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2020-08-17 20:40 +0200
Re: openssh-server john doe <johndoe65534@mail.com> - 2020-08-17 20:20 +0200
Re: openssh-server john doe <johndoe65534@mail.com> - 2020-08-17 20:30 +0200
Re: openssh-server Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2020-08-17 20:10 +0200
Re: openssh-server Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2020-08-17 20:10 +0200
Re: openssh-server Semih Ozlem <semihozlemlinuxuser@gmail.com> - 2020-08-17 20:10 +0200
| From | Semih Ozlem <semihozlemlinuxuser@gmail.com> |
|---|---|
| Date | 2020-08-17 19:50 +0200 |
| Subject | openssh-server |
| Message-ID | <AERqG-3U2-7@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi, 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 Thank you Semih
[toc] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2020-08-17 20:00 +0200 |
| Message-ID | <AERAm-3Xk-3@gated-at.bofh.it> |
| In reply to | #226225 |
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?
[toc] | [prev] | [next] | [standalone]
| From | Semih Ozlem <semihozlemlinuxuser@gmail.com> |
|---|---|
| Date | 2020-08-17 20:10 +0200 |
| Message-ID | <AERK1-4fP-3@gated-at.bofh.it> |
| In reply to | #226226 |
[Multipart message — attachments visible in raw view] — view raw
And thanks to Greg for the quick response. Semih Ozlem <semihozlemlinuxuser@gmail.com>, 17 Ağu 2020 Pzt, 21:03 tarihinde şunu yazdı: > 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 <semihozlemlinuxuser@gmail.com>, 17 Ağu 2020 Pzt, 21:00 > tarihinde şunu yazdı: > >> also pinging works >> >> Semih Ozlem <semihozlemlinuxuser@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 <wooledg@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? >>>> >>>>
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2020-08-17 20:20 +0200 |
| Message-ID | <AERTI-4j6-5@gated-at.bofh.it> |
| In reply to | #226228 |
On Mon, Aug 17, 2020 at 08:12:32PM +0200, john doe wrote: > On 8/17/2020 8:04 PM, Semih Ozlem wrote: > > And thanks to Greg for the quick response. > > > > Semih Ozlem <semihozlemlinuxuser@gmail.com>, 17 Ağu 2020 Pzt, 21:03 > > tarihinde şunu yazdı: > > > > > 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. > > > > > Per default SSH uses port '22' with the protocol 'tcp'. > > So you need to open that inbound port! I'm guessing the issue was the *outbound* connection on the client, and that the firewall in question is on the Windows client. It's amazing how many emails this person sends and how incredibly lacking in detail each one is.
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2020-08-17 20:40 +0200 |
| Message-ID | <AESd4-4pq-7@gated-at.bofh.it> |
| In reply to | #226232 |
On Mon, Aug 17, 2020 at 09:31:20PM +0300, Semih Ozlem wrote: > Hi Greg, > Sorry for lack of details in my response, it was just a tiring day because > almost the whole day passed and finally the issue is at least temporarily > resolved, and one gets somewhat forgetful. the firewall was enabled on the > debian machine, and I am trying to connect to the debian machine from > windows machine. After disabling firewall in debian machine ssh connection > from the windows machine to debian machine (where the ssh server is > located) works. However, I presume that disabling firewall makes the > machine vulnerable, so this is not entirely a good solution. I am just > reading firewall rules to set up firewall so that ssh connection would be > allowed. Apologies if this is too simple a question. There is no firewall in Debian by default. Any firewall rules you have are ones that *you* put in place, using software that *you* installed and configured. So, configure it the way you want.
[toc] | [prev] | [next] | [standalone]
| From | Semih Ozlem <semihozlemlinuxuser@gmail.com> |
|---|---|
| Date | 2020-08-17 20:40 +0200 |
| Message-ID | <AESd4-4pq-9@gated-at.bofh.it> |
| In reply to | #226232 |
[Multipart message — attachments visible in raw view] — view raw
Hi Greg, Sorry for lack of details in my response, it was just a tiring day because almost the whole day passed and finally the issue is at least temporarily resolved, and one gets somewhat forgetful. the firewall was enabled on the debian machine, and I am trying to connect to the debian machine from windows machine. After disabling firewall in debian machine ssh connection from the windows machine to debian machine (where the ssh server is located) works. However, I presume that disabling firewall makes the machine vulnerable, so this is not entirely a good solution. I am just reading firewall rules to set up firewall so that ssh connection would be allowed. Apologies if this is too simple a question. Greg Wooledge <wooledg@eeg.ccf.org>, 17 Ağu 2020 Pzt, 21:17 tarihinde şunu yazdı: > On Mon, Aug 17, 2020 at 08:12:32PM +0200, john doe wrote: > > On 8/17/2020 8:04 PM, Semih Ozlem wrote: > > > And thanks to Greg for the quick response. > > > > > > Semih Ozlem <semihozlemlinuxuser@gmail.com>, 17 Ağu 2020 Pzt, 21:03 > > > tarihinde şunu yazdı: > > > > > > > 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. > > > > > > > > Per default SSH uses port '22' with the protocol 'tcp'. > > > > So you need to open that inbound port! > > I'm guessing the issue was the *outbound* connection on the client, and > that the firewall in question is on the Windows client. > > It's amazing how many emails this person sends and how incredibly lacking > in detail each one is. > >
[toc] | [prev] | [next] | [standalone]
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Date | 2020-08-17 20:20 +0200 |
| Message-ID | <AERTI-4j6-3@gated-at.bofh.it> |
| In reply to | #226228 |
On 8/17/2020 8:04 PM, Semih Ozlem wrote: > And thanks to Greg for the quick response. > > Semih Ozlem <semihozlemlinuxuser@gmail.com>, 17 Ağu 2020 Pzt, 21:03 > tarihinde şunu yazdı: > >> 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. >> Per default SSH uses port '22' with the protocol 'tcp'. So you need to open that inbound port! -- John Doe
[toc] | [prev] | [next] | [standalone]
| From | john doe <johndoe65534@mail.com> |
|---|---|
| Date | 2020-08-17 20:30 +0200 |
| Message-ID | <AES3o-4mg-9@gated-at.bofh.it> |
| In reply to | #226233 |
On 8/17/2020 8:15 PM, Semih Ozlem wrote: > Sorry for the maybe too simple question, but how does one open and close > ports, and how can ufw firewall be configured so as to allow ssh > connections > Have a look at (1). In the linux world, it is wise to answer at the bottom of an e-mail as opposed to the Windows world where top-posting is used. 1) https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands -- John Doe
[toc] | [prev] | [next] | [standalone]
| From | Semih Ozlem <semihozlemlinuxuser@gmail.com> |
|---|---|
| Date | 2020-08-17 20:10 +0200 |
| Message-ID | <AERK1-4fP-7@gated-at.bofh.it> |
| In reply to | #226226 |
[Multipart message — attachments visible in raw view] — view raw
also pinging works Semih Ozlem <semihozlemlinuxuser@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 <wooledg@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? >> >>
[toc] | [prev] | [next] | [standalone]
| From | Semih Ozlem <semihozlemlinuxuser@gmail.com> |
|---|---|
| Date | 2020-08-17 20:10 +0200 |
| Message-ID | <AERK1-4fP-9@gated-at.bofh.it> |
| In reply to | #226229 |
[Multipart message — attachments visible in raw view] — view raw
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 <semihozlemlinuxuser@gmail.com>, 17 Ağu 2020 Pzt, 21:00 tarihinde şunu yazdı: > also pinging works > > Semih Ozlem <semihozlemlinuxuser@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 <wooledg@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? >>> >>>
[toc] | [prev] | [next] | [standalone]
| From | Semih Ozlem <semihozlemlinuxuser@gmail.com> |
|---|---|
| Date | 2020-08-17 20:10 +0200 |
| Message-ID | <AERK1-4fP-5@gated-at.bofh.it> |
| In reply to | #226226 |
[Multipart message — attachments visible in raw view] — view raw
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 <wooledg@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? > >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web