# 5 Best Practices for Securing SSH

DevFeed: [5 Best Practices for Securing SSH](<https://devfeed.tech/articles/5-best-practices-for-securing-ssh-29545.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/5-ssh-best-practices/>)

Author: info@goteleport.com (Catherine Blake)

Published: 2022-04-11T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [ssh](<https://devfeed.tech/topics/ssh.md>), [Security](<https://devfeed.tech/topics/security.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [MFA](<https://devfeed.tech/topics/mfa.md>), [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [attacks](<https://devfeed.tech/tags/attacks.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [root](<https://devfeed.tech/tags/root.md>), [security](<https://devfeed.tech/tags/security.md>), [security-best-practices](<https://devfeed.tech/tags/security-best-practices.md>), [server](<https://devfeed.tech/tags/server.md>), [ssh](<https://devfeed.tech/tags/ssh.md>)

## AI overview

This article presents five practices for securing SSH infrastructure, including enabling second-factor authentication, changing default SSH settings, changing the default port, and disabling root login. It notes that SSH security depends on server and client configuration.

## Source excerpt

This article explores 5 SSH best practices you should observe to boost the security of your infrastructure.