added handling for better ssh tunneling by using nested sshObj structures