whizkidash 0 Newbie Poster

Team,

Can any one assist me with my below script requirements

I log into a jump box with my login and password, Here I need to create a script which i will run from this point that will connect to a different server using ssh and it should prompt me with the password for which i will key in the RSA token details, and once logged in, I do a sudo su - <username>, again i will fetch the password from my RSA token.after which i need to end the script with the pwd and ls -l command. Can any one advise and assist me with a single script which will perform all the above steps once i log into the jump box