Categories
Unix & Linux

How to prevent SSH connection from freezing

Recently I was finding that my SSH connection to my FreeBSD server was freezing. I’m on macOS Catalina connecting to a FreeBSD box using standard Terminal app. I’m using shared keys and the connection was fine and working well until I left the Terminal window idle for over 15 seconds.

Categories
Unix & Linux

How to determine current terminal shell in macOS/FreeBSD

Is there an easy way to determine what shell I’m using in terminal?