I am working on a script in linux in which i need to SSH to another server.
I am using this syntax ssh user@ip
When doing a manual SSH when we type "ssh user@ip" a few second, a second prompt will show and ask what environment are we choosing ex 1 to 4
(4) - this is the number of the environment i will be choosing.
But when doing ssh user@ip 4 - error received (bash command not found)