LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-23-2008, 02:34 PM   #1
launchpadtt
Member
 
Registered: May 2005
Location: Brooklyn, originally from Trinidad and Tobago
Distribution: (Ku, Xu, U)buntu
Posts: 30

Rep: Reputation: 15
sending input to multiple ssh sessions in windows


It may seem weird asking this in what's clearly a linux forum, but i feel the need to ask this since here has the most knowledgeable people and i'd be accessing linux machines over ssh.

Konsole has the option to send input to all sessions, where what you type in one of the tabs is sent to all of them. Once I found this out it basically changed my life, as far as the rate at which things get done is concerned. I hear clusterssh's primary purpose is to do this as well. Perhaps someone could let me know how much better one is over the other.

My question is, has anyone ever heard of a windows ssh client that has this feature? The only ssh clients i've used on windows are putty and poderosa. I like poderosa better because it has tabs and ability to split windows ala konsole in kde4, but i can't find a feature like that anywhere.
 
Old 05-24-2008, 09:29 AM   #2
rlhartmann
Member
 
Registered: Mar 2008
Posts: 73

Rep: Reputation: 16
If you installed an Xserver (such as http://sourceforge.net/projects/xming) on your Windows server, then SSH into the linux server (with X11 forwarding turned on), you can start konsole and have it run on your Windows screen.
 
Old 05-24-2008, 06:29 PM   #3
launchpadtt
Member
 
Registered: May 2005
Location: Brooklyn, originally from Trinidad and Tobago
Distribution: (Ku, Xu, U)buntu
Posts: 30

Original Poster
Rep: Reputation: 15
that seems like a lot of work for that, having another machine running that is. as you mention it though perhaps possible to get konsole running with cygwin and run it from there? I don't know but heard there are kde libraries that are compiled for use with cygwin
 
Old 05-25-2008, 08:29 AM   #4
rlhartmann
Member
 
Registered: Mar 2008
Posts: 73

Rep: Reputation: 16
I guess I don't fully understand your question. You are asking about an ssh client for Windows. SSH implies that you already have a remote server you are going to connect to. Konsole, is not an ssh client, it's simply was window to a shell on the local machine. If that is what you are looking for on Windows, then Cygwin might do what your looking for.

What is it you are using the send input to all sessions for? There might be others ways of doing such as named pipes, the tee command, etc.
 
Old 05-25-2008, 03:38 PM   #5
framp
Member
 
Registered: Apr 2003
Location: Next to Stuttgart, Germany
Distribution: Debian, Mint, Raspbian
Posts: 131
Blog Entries: 5

Rep: Reputation: 27
Quote:
Originally Posted by rlhartmann View Post
I guess I don't fully understand your question.
Same to me

There is a nice shell script to execute the same command on various systems with ssh. Maybe that's what you're looking for.
 
Old 05-27-2008, 04:22 PM   #6
launchpadtt
Member
 
Registered: May 2005
Location: Brooklyn, originally from Trinidad and Tobago
Distribution: (Ku, Xu, U)buntu
Posts: 30

Original Poster
Rep: Reputation: 15
forgive me but i'm a bit of a newbie. i've had to run similar commands on multiple machines, so i'd open up multiple tabs, turn on that option on one tab, and just run commands in that one tab for as long as is feasible, only switching to the other tabs when there are slight differences in a command that i'm entering. don't know how clunky it is, because i'm not skilled enough with the scripting to have tried it or anything else that would be better. I will look into it though. As weird as it sounds however doing the multiple tabs thing still gets me to finish things quicker. someone asked me if they knew of that feature in a windows program. I told them about running it in a windows x server.
 
Old 07-31-2008, 03:12 PM   #7
wuhaa
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Rep: Reputation: 0
cli automation with "expect" may be the answer

http://www.linux.com/feature/128384
 
Old 02-17-2009, 07:41 PM   #8
changlinn
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: ParrotOS, Kali, Ubunut
Posts: 28

Rep: Reputation: 15
I know I am digging up an old thread but I am looking for something like this too. I am forced to use windows at work otherwise I would run something like PSSH (parallel SSH) or Clusterssh.
http://www.cyberciti.biz/tips/parall...execution.html
http://www.debian-administration.org/articles/551

Glad I didn't post till I found it and here it is
http://www.millardsoftware.com/puttycs
It works pretty well, it does occasionally miss a key on one of the putty windows, and it doesn't have autocomplete, but it is a good enough solution.
 
Old 03-21-2009, 08:54 PM   #9
launchpadtt
Member
 
Registered: May 2005
Location: Brooklyn, originally from Trinidad and Tobago
Distribution: (Ku, Xu, U)buntu
Posts: 30

Original Poster
Rep: Reputation: 15
thanks. i gave on looking for something like this.
 
Old 03-21-2009, 10:41 PM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
http://librenix.com/?inode=12870
 
Old 11-22-2009, 04:30 PM   #11
haytona
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Rep: Reputation: 0
another alternative

I know this thread is old, but I got here via google so others might too.

As well as the answer from changlinn, another alternative is Multisend:
It works by allowing you to select multiple windows to send the input to, then popping up an input field to send it to each window.
 
Old 11-23-2009, 04:06 PM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hate to reply to resurrected threads, but puttycm is a wrapper for putty which does exactly this, amongst other useful things.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Autologins; Multiple Users; Multiple Sessions mrclisdue Linux - Desktop 1 09-26-2007 05:50 AM
Forward X11 multiple ssh sessions doublejoon Linux - Networking 5 04-26-2007 03:55 PM
multiple terminal windows for ssh in linux nasarlinux Linux - General 3 09-23-2005 08:13 AM
Multiple X sessions tw001_tw Slackware 9 05-31-2004 12:35 PM
pppoe.so sending sessions packets with wrong src mac ppp_guy Linux - Networking 1 03-05-2004 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration