I want to SSH to a server and execute a simple command like \"id\" and get the output of it and store it to a file on my primary server. I do not have privileges to install
If you have ssh host keys setup you can simply run the ssh system command and then specify the command to run on the machine after that. For example:
`ssh user@remoteserver.domain.com id`
You should be able to chomp/store that output.