Is it possible to run multiple command with remote command option in putty?
问题 I want to run multiple commands automatically like sudo bash, ssh server01, ls , cd /tmp etc at server login.. I am using Remote command option under SSH in putty. I tried multiple commands with delimiter && but not working. 回答1: There is a some information lacking in your question. You say you want to run sudo bash , then ssh server01 . Will sudo prompt for a password in your remote server? Assuming there is no password in sudo, running bash will open another shell waiting for user input.