LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   multiple terminal windows for ssh in linux (https://www.linuxquestions.org/questions/linux-general-1/multiple-terminal-windows-for-ssh-in-linux-365539/)

nasarlinux 09-21-2005 06:14 AM

multiple terminal windows for ssh in linux
 
Hi guys,

I need to work lot of remote servers. When i logged in a remote server, I need one more terminal window on the same server. For this I need to open one more terminal and login again to the same server. Is there a way to do this automatically. I have ssh-agent running.

Thanks
Nasar

jonaskoelker 09-21-2005 06:44 AM

I'd say this is a job for GNU screen. If it isn't usable, explain why.

nasarlinux 09-23-2005 07:10 AM

Hi,

thanks.


I used screen and whatever i type it's reflected in the other screens which i don't want. I need to work separate individual tasks on each terminal. Correct me if I'm wrong.

--Nasar

jonaskoelker 09-23-2005 08:13 AM

Well, if it's just starting up the xterms and running ssh, you could write a shell script:

Code:

xterm -e "ssh $1 -c foo" &
xterm -e "ssh $1 -c bar" &

And/or run disjoint screen sessions in each terminal.

If i'm still missing the mark, try rephrasing the question.


All times are GMT -5. The time now is 05:52 AM.