Best of SSHSeptember 2024

  1. 1
    Article
    Avatar of hnHacker News·2y

    Autossh/autossh: Automatically restart SSH sessions and tunnels

    Autossh is a tool designed to automatically restart SSH sessions and tunnels when they fail or stop passing traffic. It uses different methods, such as setting up a loop of SSH forwardings or employing a remote echo service, to monitor and maintain connections. With support for environment variables and additional flags like -M for specifying monitoring ports, autossh enhances the reliability of SSH connections.

  2. 2
    Video
    Avatar of dreamsofcodeDreams of Code·2y

    Why I don't change SSH from port 22

    Changing the SSH port from the default of 22 is often debated as a method to improve security. However, this practice is considered security through obscurity, which doesn't effectively enhance security. Automated tools can easily identify the new port, making the remapping ineffective. Instead, better security measures include disabling root access, forcing key-based authentication, and using tools like Fail2ban to monitor and block suspicious activities.