21 ms·
Why would you have sshd running on your workstation in the first place?
by m4r71n 11y ago
Why would you have sshd running on your workstation in the first place?
- vacri 11y agoI've ssh'd into colleagues' machines to help them with system problems, and they've ssh'd into mine to retrieve their VPN keys. Not all of my colleagues have ssh access to a common server somewhere. I've also remoted into my workstation from home to do emergency work.
- yellowapple 11y agoIdeally, those colleagues would keep sshd disabled unless they actually do need your remote assistance, at which point they'd "service sshd start" or "systemctl sshd.service start" (or however it's normally done with systemd) or "/etc/init.d/ssh start" or "/etc/rc.d/rc.ssh start" or what have you. Minimization of attack surface is an important part of a comprehensive security strategy, and a remote login system - even one with a phenomenal track record like OpenSSH - contributes pretty heavily to that attack surface.
- drjesusphd 11y agoIt's irreplacable when one occasionally works from home.
- Skunkleton 11y agoSo that you can ssh to it?
- rythie 11y agoTo allow remote management tools to run. If there's one thing that'll make your systems insecure, it's letting everyone manage their own boxes. SSHd allows you to restrict particular users to IP ranges and of course you can use IP tables and fail2ban too.