I am in the process of installing various systems on a Linux system to create a blueprint for automation.
I am trying to get curser to establish an ssh connection and chat with me to work out the steps and react accordingly in case of errors.
Only once the ssh connection is established and I want to start, the connection is “interrupted” because a new “ section”? is probably started in the chat and the commands would then be executed locally on the notebook again.
I am almost certain that my scenario is not that unusual. Can anyone help me? What am I doing wrong?