3 ms·
An interesting argument. With telnet it's easy to argue that it wasn't supposed to allow access, it was just a default and you should have known better. With
by Dylan16807 11y ago
An interesting argument. With telnet it's easy to argue that it wasn't supposed to allow access, it was just a default and you should have known better. With ssh you have to go pretty far out of your way to allow someone to log in without having a key or password. Sounds like something that would imply authorization.
- simoncion 11y ago> With ssh you have to go pretty far out of your way to allow someone to log in without having a key or password. Yeah. It's certainly not the default config. From what I can tell, you can either * Activate PAM support and have a PAM module that just authorizes users, regardless of credentials. * Enable PermitEmptyPasswords and have an account on the system that has no password. So, I guess if you SSH to a machine that lets you log in with no password, or any username/password combo, you might want to consider that maybe your use of the machine is not necessarily authorized. :p My hypothetical in the previous comment presumed that you presented a username/key or a username/password combo that you knew to the system and it granted you access... but I guess the situation can get a little more murky, if you're accessing a system managed by a pathologically lazy sysadmin. ;)
- Dylan16807 11y agoEh, if you're in a position to know a legitimate account like that, you should already know whether you're authorized. In that case "it let me in so surely it was okay" is not a very strong argument.