Hi All
I have created a script which is running properly "Script".
I want that script to run when I login into another server.
in the code below:
when ssh is executed it asks for password ..After entering password the user is logged in but the script does not run.... whereas when I exit the server the script starts running.
#!/usr/ssh/bin
# My first script
User=user
server=test
ssh $User@$Server cd Location ./Script
can you please help