I want to run multiple commands with same shell.
Executing command of paramiko library is not with same shell.
Commands :
Ssh cloud-user@node -i /path/to/bcmt_rsa
Cat /etc/ssh/sshd_config
Change permitRootLogin yes to no
Restart sshd server
Log to file.
I am new in python. I have tried many ways but not working