LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-21-2005, 06:14 AM   #1
nasarlinux
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Rep: Reputation: 0
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
 
Old 09-21-2005, 06:44 AM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
I'd say this is a job for GNU screen. If it isn't usable, explain why.
 
Old 09-23-2005, 07:10 AM   #3
nasarlinux
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 09-23-2005, 08:13 AM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Terminal on Windows gigglesnorter Linux - Newbie 3 08-03-2005 02:28 AM
Linux and Windows Terminal Services Echo Kilo Linux - Networking 1 11-12-2004 02:13 AM
Linking to multiple linux servers with SSH rwalkerphl Linux - Newbie 2 07-05-2004 12:37 PM
Linux and Windows terminal spy1 Linux - General 5 03-11-2004 03:53 PM
Windows Terminal Services on Linux RedHat 8.0 - help. z00t Linux - General 0 04-08-2003 05:13 AM


All times are GMT -5. The time now is 05:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration