Generic handling of SSH_FORWARDED overrides.
authorIain Patterson <me@iain.cx>
Wed, 22 Apr 2009 18:39:01 +0000 (14:39 -0400)
committerIain Patterson <me@iain.cx>
Wed, 22 Apr 2009 18:45:50 +0000 (14:45 -0400)
commit8a304871323fd8c0ab81b81a9082f07d03a1fa0c
tree737efc885764bd2c34a057a58bc1b0cb17806bcf
parentef195791b38325931b2d3007b9c409389aa43797
Generic handling of SSH_FORWARDED overrides.

Check if the remote IP address matches a regular expression from
~/.ssh/forwarded and append " (from <hostname>)" to the PROMPT_COMMAND
only if not.
.profile.d/prompt.bashrc