ssh: add a max keepalive limit