Interview Questions

How to execute commands in remote machine using SSH ?

ssh user_name@remote_machine_hostname "ls -ltr"

Example: ssh root@1.2.3.4 "ls -ltr"