I wish to run a script on the remote system and then wish to stay there. Running following script:-
ssh user@remote logs.sh
This do run the script but after that I am back to my host system. i need to stay on remote one. I tried with..
ssh user@remote logs.sh;bash -l
somehow it solves the problem but still not working exactly as a fresh login as the command:-
ssh user@remote
Or it will be better if i could include something in my script that would open the bash terminal in the same directory where the script was running. Please suggest.