What is the meaning of "-s" in the following command?
ssh [email protected] /bin/bash -s << EOT
I understand that the command open a SSH session and execute
/bin/bash with/followed_by the "-s" argument/option.
Is this correct?
Furthermore, I think it says "execute the following script and it "pass << EOT" to say get all the following text/lines as the script code, it will end with an "EOT".
If the previous interpretation is correct EOT is End Of Transmission and can be any word (is just a label)?