A PCRE internal error occured. This might be caused by a faulty plugin
====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
tricks:keep-ssh-alive [2013/12/17 14:43] admin [Choose Your Level] |
tricks:keep-ssh-alive [2015/08/02 02:42] (current) admin [Choose Your Level] |
||
|---|---|---|---|
| Line 19: | Line 19: | ||
| * Host level: will a specific ssh session timeout per host, for a specific user | * Host level: will a specific ssh session timeout per host, for a specific user | ||
| - | To modify the **global** session timeout on your system, edit the /etc/ss/ssh_config file: | + | |
| + | === Global === | ||
| + | To modify the **global** session timeout on your system, edit the /etc/ssh_config file: | ||
| <code> | <code> | ||
| sudo nano /etc/ssh/ssh_config | sudo nano /etc/ssh/ssh_config | ||
| Line 28: | Line 30: | ||
| </code> | </code> | ||
| + | === Per User === | ||
| To modify a **user**'s session timeout, edit the /home/<username>/.ssh/config file | To modify a **user**'s session timeout, edit the /home/<username>/.ssh/config file | ||
| <code> | <code> | ||
| Line 40: | Line 43: | ||
| Please note that the second line is indented with a space! | Please note that the second line is indented with a space! | ||
| + | === Per Host === | ||
| You could determine **per host** intervals by specifying their name in /home/<username>/.ssh/config : | You could determine **per host** intervals by specifying their name in /home/<username>/.ssh/config : | ||
| <code> | <code> | ||
