How To SSH Run Multiple Command On Remote Machine

firtst ,make sure login the remote machine with no password

then

(1)ssh user_name@remotehost command or script

(2)ssh user_name@remotehost   “command1  &&  command2”

such as :

[root@login113 ~]# ssh root@manager102 “date && hostname”
Wed Apr 13 08:54:50 CST 2016
manager102