#!/bin/bash # Get the VNC cert for the host passed as the first argument klist -s || kinit -k exec remctl "$1" remote web vnccert