I'm writing a script that I'm running through a terminal, and would like it to run BASH commands in that same terminal. All solutions that I found were geared toward connecting remotely through SSH, whereas I just need to run SSH commands on the same machine.
Can someone please point in a direction how that can be done, since Googling didn't really give me relevant results.