Actually it is relevant to SSH Hijacks because many attacks are successful because of leveraged kernel or application vulnerabilities, now were even starting to see CPU vulnerabilities eg Spectre for which there are now kernel patches.
I combine it with "unattended upgrades" to cover the system packages.
https://help.ubuntu.com/lts/serverguide ... dates.html
Obviously put SSH on a non-default port with either certificate auth or a very long complex password.
If you want to go the extra mile use port knocking.
Beware of Raspberry Pi SSH hijacks
Moderators: leecollings, remb0
-
- Posts: 543
- Joined: Saturday 02 July 2016 5:17
- Target OS: Linux
- Domoticz version: Beta
- Contact:
Re: Beware of Raspberry Pi SSH hijacks
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: Beware of Raspberry Pi SSH hijacks
I always change port to above 5000 and make use of SSH_KEY.
And change some settings in sshd_config to
Port I-DONT-TELL
PermitRootLogin no
PasswordAuthentication no
UsePAM no
And change some settings in sshd_config to
Port I-DONT-TELL
PermitRootLogin no
PasswordAuthentication no
UsePAM no
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 7
- Joined: Saturday 03 August 2013 12:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11665
- Location: Germany
- Contact:
Re: Beware of Raspberry Pi SSH hijacks
I'm a little confused, but did I got that right, that you left your ssh port of your pi accessible from the internet?
In my opinion, that port shouldn't be open at all. If I want to access the pi from outside, I would use a secured VPN connection.
In my opinion, that port shouldn't be open at all. If I want to access the pi from outside, I would use a secured VPN connection.
Who is online
Users browsing this forum: No registered users and 1 guest