I need help for this process. I have a batch file to run Putty and log with ssh an server and will execute commands from file "commands.txt".
C:\Programme\PuTTy\putty.exe -ssh user@server -pw 123456 -m c:\Programme\PuTTy\commands.txt -t
in the command.txt file i will run this commands:
sudo su - newUser
cd /Scriptfolder
./start.sh
My batch runs to switsch user and stopt. The batch switch not in the newUser Folder
Thanks for reply