If you are using OpenSSH, there is a way to ???escape??? out of the current SSH session temporarily to obtain the shell prompt of local host. You can return the original SSH session later. This tutorial explains how to suspend an SSH session in Linux, much like you would suspend a running foreground process.