I am using the following batch file to log in to my server as root:
start C:\Putty_all\PUTTY.exe -v -ssh email@example.com -pw password
When I have logged in, I want to change user to
oracle. How do I do that?
You can specifiy commands to be executed on the remote system with the
So you can for example do the following:
This assumes that the user you are logging in with has the ability to use
After login, run
From the root account you don't even need to give the password, since you have full rights on the system.