Implement and use SshParameters
Implement commandToStartApplicationInGui
Refactor to use function sshParameters