dnsssh - Wrapper script for dnsc and ssh
dnsssh --suffix=DNS_Suffix [ssh_options] [user@]hostname [command]
The --suffix is the DNS Suffix delegated to the dnsd server. If none is specified from commandline, then the DNS_SUFFIX environment variable is used. This setting is required.
The optional [ssh_options] are passed to the real ssh command.
Special attention has been taken for the "-p" option and the "hostname" arguments in order to tunnel properly, but everything should function like the normal ssh program.
The "ssh" client must exist in the path. This utility does not re-implement the entire SSH protocol. It just calls dnsc and ssh with the proper arguments for you.
I disabled Strict Host Checking to avoid conflicts with previous invocations and to reduce bloating up of useless entries into your known_hosts file. But it will always claim it "Permanently added" the host.
dnsc, dnsd, ssh
Rob Brown, <bbb@cpan.org>
Copyright (C) 2011-2012 by Rob Brown
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.9 or, at your option, any later version of Perl 5 you may have available.
To install IO::Socket::DNS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Socket::DNS
CPAN shell
perl -MCPAN -e shell install IO::Socket::DNS
For more information on module installation, please visit the detailed CPAN module installation guide.