Not sure the best to title this question... I have a bash script on Server A.
Work Ubuntu Desktop:
ssh -l USER host
*password*
coolscript var1 var2 var3
Server A (coolscript):
command1 $1
command2 $2
now at this point, I need to trigger coolscript2 on server b with the third argument passed. something like
run_remote_command_on_server_b coolscript2 $3
Server B (coolscript2)
command3 $3
However i need this to happen without having to enter user/pass for the second server.