News for hackers. Stuff that matters.
Re:Practical Linux Hardening Guide by sliken on Thursday January 24, 2019 @05:13PM (#18993569)
Seems kinda painful. Just turn off passwords and let them try all they want. I find rsync particularly painful with a non-standard port.
Re:Practical Linux Hardening Guide by kardos on Thursday January 24, 2019 @05:53PM (#18993877)
Your .ssh/config can handle that for you?
Re:Practical Linux Hardening Guide by sliken on Thursday January 24, 2019 @06:16PM (#18994032)
Sure, you could try to populate .ssh/config on every machine you ever will try to login from.

Or you could use the standard port, turn off passwords, and wait for the sun to burn out before someone brute forces their way in.

Re:Practical Linux Hardening Guide by romeisendcoming on Monday January 28, 2019 @01:45PM (#19019945)
Or someone can simply own your key holding device as you sip your beverage at the local hotspot or home wifi. Simpler to go after the secret privileged client than the server.
Re:Practical Linux Hardening Guide by amdavidson on Friday January 25, 2019 @03:41PM (#19002293)
Do you sync your ssh keys to all the machines you login from?

How do you ssh-copy-id without some allowance for passworded logins? Especially if you're doing it from such distant machines that you can't scp over a .ssh/config file.

Re:Practical Linux Hardening Guide by sliken on Friday January 25, 2019 @04:38PM (#19002757)
So, I just ssh to whatever machine I need to work on, but occasionally need to rsync or scp files to/from that server.

Sure, I could have puppet push a ~/.ssh/config file everywhere, just seems more effort than it's worth. After all if a hacker wants to know if you are running ssh, it's not hard to scan all ports for ssh.

Why inconvenience yourself more than the attacker?

Re:Practical Linux Hardening Guide by Havoc on Thursday January 24, 2019 @06:51PM (#18994237)
>Seems kinda painful

meh. Just means typing in the port in putty. Pick an easy port - 60k. I can live with that.

Re:Practical Linux Hardening Guide by sliken on Thursday January 24, 2019 @07:04PM (#18994314)
Right, but say you have a dozen machines you login from regularly and maybe a few 100 that you login from occasionally. You want to maintain a ~/.ssh/config on all of them?

Seems like a big inconvenience for minimal extra security. Not like scanning for all open ports that have an ssh listening is hard.

Re:Practical Linux Hardening Guide by joppy on Thursday January 24, 2019 @07:25PM (#18994416)
If you’re already typing in the full address for the server every time, since you don’t have an ssh config file, then is it really so much more work to additionally type the port?
Re:Practical Linux Hardening Guide by mcny on Monday January 28, 2019 @05:46AM (#19016455)
Yes because I will forget to type -p 5223 at some point. If you set up a non standard port against my recommendation and I get banned for trying 22, you better be on call 24/7 for free to unban me.
Re:Practical Linux Hardening Guide by yjftsjthsd-h on Thursday January 24, 2019 @09:04PM (#18994930)
If you are coming from 100s of machines, I would really hope you have your home on NFS or something anyways.