Created
November 24, 2022 03:20
-
-
Save kayoch1n/7a97418db51ac4bf318d0effa4d17286 to your computer and use it in GitHub Desktop.
Handy command lines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# keep ssh shell alive | |
# https://stackoverflow.com/a/29458738/8706476 | |
ssh ubuntu@xxxx -o ServerAliveInterval=60 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment