Created
April 18, 2012 01:04
-
-
Save skimbrel/2410257 to your computer and use it in GitHub Desktop.
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 | |
SSHV="SSH_CLIENT SSH_TTY SSH_AUTH_SOCK SSH_CONNECTION DISPLAY" | |
for x in ${SSHV} ; do | |
(eval echo $x=\$$x) | sed 's/=/="/ | |
s/$/"/ | |
s/^/export /' | |
done 1>$HOME/.bash_helpers/fixssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment