Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to set some variable in ssh session which is nested.
ssh host1 << EOF
ssh host2 << EOF1
What is wrong in this bash script?
Required, but never shown
1 month ago