Great package, one thing I think you could do, which would make it work without configuration, is to use the $SSH_CLIENT environment variable, if it's populated, then get the IP address from there, otherwise use the rest of your logic.
OR
use what's in the config, then if that's empty use the SSH_CLIENT env
Hi,
Great package, one thing I think you could do, which would make it work without configuration, is to use the $SSH_CLIENT environment variable, if it's populated, then get the IP address from there, otherwise use the rest of your logic.
OR
use what's in the config, then if that's empty use the SSH_CLIENT env
thoughts?