|
|
@ -19,7 +19,7 @@ def main():
|
|
|
|
parser.add_argument('--domain', default=None)
|
|
|
|
parser.add_argument('--domain', default=None)
|
|
|
|
parser.add_argument('--host', required=True)
|
|
|
|
parser.add_argument('--host', required=True)
|
|
|
|
args = parser.parse_args()
|
|
|
|
args = parser.parse_args()
|
|
|
|
args.domain = (args.domain or args.host) + "."
|
|
|
|
args.domain = (args.domain + ".") if args.domain else "@"
|
|
|
|
print(gen_sshfp_rr(ssh_hosts_keys, args.host, args.domain))
|
|
|
|
print(gen_sshfp_rr(ssh_hosts_keys, args.host, args.domain))
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
if __name__ == "__main__":
|
|
|
|