15 分間操作していないユーザーを ssh からログアウトする

更新 -

問題

15 分間操作していないユーザーを ssh からログアウトするには

システム構成

Red Hat Enterprise Linux 4

解決策

  1. 以下のパラメーターの /etc/ssh/sshd_config にタイムアウト値を設定します。

    #vi /etc/ssh/sshd_config
    ...
    ClientAliveInterval 5m          # 5 minutes...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.