jupyter console --existing
https://stackoverflow.com/questions/22447572/connect-termina...
For jupyter lab, you just choose to start a repl from the gui and choose an existing kernel.