Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
24
rated 0 times [  24] [ 0]  / answers: 1 / hits: 192415  / 1 Year ago, wed, may 17, 2023, 3:18:20

Is there a way to open a terminal window ( or tab ) with another instance of an open SSH session ?



EDIT: I have a terminal window with a remote ssh session into a server. I want to open a new tab connected to the same remote ssh session.



With File->New Tab I get another tab but I have to open another ssh session to the remote server.


More From » ssh

 Answers
4

Connect to your remote server with:



ssh -X [remote-host]      


Now run:



gnome-terminal &


A terminal will appear on your local computer. From this terminal, you can run as many tabs or terminal windows as desired. They will all use the same ssh connection and be connected to the remote machine.


[#29961] Wednesday, May 17, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
urnaetted

Total Points: 10
Total Questions: 113
Total Answers: 117

Location: Burundi
Member since Sat, Aug 21, 2021
3 Years ago
urnaetted questions
;