How to prevent unattended SSH connections from remaining connected

    Date28 Apr 2020
    261
    Posted ByBrittany Day
    Istock 1127546741

    Preventing idle SSH sessions from remaining connected is critical in keeping servers secure. Find out how to do this in a helpful tutorial.

    If you're a Linux admin, you know the value of Secure Shell. Without this tool, you'd be hard-pressed to get much remote administration done on your servers. In fact, you probably SSH into and out of machines all day. Or, you might SSH into a server and inadvertently leave that connection up throughout the day.

    And that, my friends, is inviting trouble.

    What if you leave that connection up and running and someone happens by your desk while you're away. That someone could have a seat and have at your server. You do not want that. Or what if you have other users who secure shell into those servers, and you can't look over their shoulders all day?

    LinuxSecurity Poll

    What do you think of the LinuxSecurity Privacy news articles?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/25-what-do-you-think-of-the-linuxsecurity-privacy-news-articles?task=poll.vote&format=json
    25
    radio
    [{"id":"90","title":"Love them!","votes":"90","type":"x","order":"1","pct":78.95,"resources":[]},{"id":"91","title":"I'm indifferent","votes":"18","type":"x","order":"2","pct":15.79,"resources":[]},{"id":"92","title":"Not interested in this topic","votes":"6","type":"x","order":"3","pct":5.26,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.