How to keep ssh session alive longer

Way 1 (works great!)

Way 2

Alias ssh - Way 1

alias sshlive='ssh -o ServerAliveInterval=60'

Thanks

Cheers and thanks to SO!

★ 1 min read · Rajesh Pandian M · ssh , linux