SSH into a build for more than 30 minutes?

Hello, is there a way to SSH into a build for more than 30 minutes? I am trying to debug some errors that keep showing up and keep having to run more and more SSH builds as the 30 minute time limit expires.

I proposed a workaround in SSH for longer than 30 minutes?