ssh-srv-wrapper is bash shell script which tries to find a SSH SRV record for the first host and uses what is found rather than what was passed (if a valid record is found).
Run the script directly or feel free to rename or symlink to the name ssh. It will look for another ssh in your path to execute.
- Validate host found in DNS. Potential security risk if DNS server returned shell esacpe sequences, etc.
- Fork the project.
- Make your feature addition or bug fix.
- Send me a pull request -- not sure if that will work in a Gist...
Released into the public domain.
Quite cool. I am wondering if there is any SSH client that does support that by default or if there are any plans (feature requests) for introducing this.
It seems that the OS X ssh client already does this, or at least this is what http://egopoly.com/2008/02/ssh-slow-on-leopard.html suggests.
Two more two go: linux ssh and putty!