Option to keep terminal open after command execution
When we set a "username @ hostname command" to run the command automatically on the terminal, the terminal is automatically closed, a good option would be for the terminal not to automatically close, I say this because I have the following scenario:
I have 2 environments being homologation and production, for the approval environment I have direct access through the ssh connection but for production there is no the same direct access, it is necessary access to the maintenance environment to access the production environment, so I would like it to be possible do something like:
user @ hostname "ssh username @ hostnameProductionMachine / bin / bash"
So by performing a 'hop' on the maintenance machine and then connecting to a production machine.
Option to keep terminal open after command execution
When we set a "username @ hostname command" to run the command automatically on the terminal, the terminal is automatically closed, a good option would be for the terminal not to automatically close, I say this because I have the following scenario:
I have 2 environments being homologation and production, for the approval environment I have direct access through the ssh connection but for production there is no the same direct access, it is necessary access to the maintenance environment to access the production environment, so I would like it to be possible do something like: user @ hostname "ssh username @ hostnameProductionMachine / bin / bash"
So by performing a 'hop' on the maintenance machine and then connecting to a production machine.