Skip to content

u/cycle2

In this archive from Feb 2009 to Aug 2023

0
posts
498
comments
0
media
1.4k
score

Top comments

I'm assuming you've already rebuilt it from scratch. If you haven't, do that, because you have no way of doing what changes were made. Access logs can't really be trusted. And more importantly, you should consider rebuilding your entire fleet of hosts that are accessible from it for the same reason.

  • In your sshd_config, you can add AllowUsers *@156.76.102.141.
  • You should forbid password logins, and use keys only
  • You should modify the policy on the firewall that sits in front of this host so that only 156.76.102.141 is allowed in, and only for the ssh port you've defined.
  • If you use iptables locally, you can do something like iptables -A INPUT -p tcp -s 156.76.102.141 --dport 22 -j ACCEPT. For firewalld, there's probably already an ssh service defined you can add (but will need to tweak for the specific IP)
  • You should forbid root from logging in
  • You should make sure you're only using Protocol 2 in sshd_config
  • You can change the default port to something other than 22, although it's not going to do much other than reduce the amount of login attempts you see in your logs.

Good luck!

59 points

Hey man, if you really want to run Arch bad enough (and learn about what it is you're doing), I'd be more than happy to help you in IRC or something. It's always taken me ~15 minutes to install it without much effort, and I'd hate for it to be such a pain in the ass for someone else.

21 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.