Fix ssh quotes

Fix to the ssh subsystem to execute command with special characters.