I am trying to run commands remotely via SSH using the following syntax:
ssh user@host "ps -eaf"
This has normally worked in the past, however in this case I keep getting the SCP Usage Returned.
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2
How can I solve this problem?