lines << "# from #{sourcehost}"
if sshkey.nil? or remote_ip.nil? or local_bind.nil?
lines << "# insufficient config values"
else
command = "/usr/bin/portforwarder-ssh-wrap #{sourcehost} #{local_bind} #{allowed_ports.join(' ')}"
lines << "# from #{sourcehost}"
if sshkey.nil? or remote_ip.nil? or local_bind.nil?
lines << "# insufficient config values"
else
command = "/usr/bin/portforwarder-ssh-wrap #{sourcehost} #{local_bind} #{allowed_ports.join(' ')}"