diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp
index b2f1c65810b5691faf722f198ff4be309d1a60cc..5b8fcc9583cb4c081dbb4b14a50c3f8c3da30a4d 100644
--- a/src/sbbs3/main.cpp
+++ b/src/sbbs3/main.cpp
@@ -5488,6 +5488,7 @@ NO_PASSTHRU:
 			new_node->sys_status|=SS_SSH;
 			new_node->telnet_mode|=TELNET_MODE_OFF; // SSH does not use Telnet commands
 			new_node->ssh_session=sbbs->ssh_session;
+			sbbs->ssh_session=NULL; // Don't allow subsequent SSH connections to affect this one (!)
 			/* Wait for pending data to be sent then turn off ssh_mode for uber-output */
 			while(sbbs->output_thread_running && RingBufFull(&sbbs->outbuf))
 				SLEEP(1);