DEV Community

Seifolah Ghaderi
Seifolah Ghaderi

Posted on

SSH keep Alive !

Usualy we need a live connection when working with ssh .
Here is short description. Note you can use '*' to apply all hosts:
mkdir -p ~/.ssh



cat > ~/.ssh/config << EOF 
Host host_or_ip
ServerAliveInterval 120 
EOF 
Enter fullscreen mode Exit fullscreen mode

Top comments (0)