I have a server where I believe I have disabled root login via ssh. I think it is done correctly, as I cannot login with root myself via ssh, but I would’ve thought that it would be reflected in /var/log/auth.log. Instead, it shows up as failed password entry. Is this intended?...
Ok, thanks - so if I understand correctly then, it is listening on port 22 as a default, and not accepting traffic on any port.
That brings of the question: wouldn’t I be better off changing the SSH-port? And is that so easy as to uncomment the #Port 22 line in the config file and changing the port number to something random, and saving that somewhere? Would I then be able to connect by running ssh [email protected]:, or would I need to do anything else to successfully connect?
Yesterday, we took a funicular (not pictured, unfortunately) and a cable car up to the Monjuïc Castle fortress. It's an impressive structure with excellent views of the city and there's an active park on the surrounding grounds, but it has a dark history. On multiple occasions, its cannon have been turned on the city below to administer collective punishment for resistance to the crown in Madrid. The fortress has also been the site of numerous atrocities. Look up the Bombardment of Barcelona (1842) for example.
Have I successfully blocked ssh logins to root?
I have a server where I believe I have disabled root login via ssh. I think it is done correctly, as I cannot login with root myself via ssh, but I would’ve thought that it would be reflected in /var/log/auth.log. Instead, it shows up as failed password entry. Is this intended?...