def _ssh_cat(ssh_bin, address, ec2_key_pair_file, path, keyfile=None, sudo=False):
 cmd_args = ['cat', path]
 if sudo:
  cmd_args = (['sudo'] + cmd_args)
 out = _check_output(*_ssh_run_with_recursion(ssh_bin, address, ec2_key_pair_file, keyfile, cmd_args))
 return out

def _ssh_cat ( ssh_bin , address , ec2_key_pair_file , path , keyfile = None , sudo = False ) : cmd_args = [ 'cat' , path ] if sudo : cmd_args = ( [ 'sudo' ] + cmd_args ) out = _check_output ( * _ssh_run_with_recursion ( ssh_bin , address , ec2_key_pair_file , keyfile , cmd_args ) ) return out
return the file at path as a string .