Hello guys!

I'm working in a new script that between other tasks, send commands to servers remotelly.
However, I would like to not only send those commands, but keep the session.

The usual behaviour is to start and finish a session for each time you execute a line like this:

ssh -q user@server "pwd"

I want to keep this ssh session and only change the command between "".

I 've never seen anything like this...

Does anyone know if it is possible?

Thank you!