Created
October 25, 2023 15:33
-
-
Save adonis0147/99a0f353fde40c2b056e8b05f8664526 to your computer and use it in GitHub Desktop.
Save SSH client IP
This file contains hidden or 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
| ssh -t <host> "export CLIENT_IP=${SSH_CLIENT/ */}; bash -l" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment