How to display CLI output on another machine

Nigel Henry cave.dnb at tiscali.fr
Sun Jan 7 21:39:16 UTC 2007


On Sunday 07 January 2007 21:22, linuxmaillists at charter.net wrote:
> On Sunday 07 January 2007 15:13, Nigel Henry wrote:
> > On Sunday 07 January 2007 18:38, Les Mikesell wrote:
> > > Nigel Henry wrote:
> > > > I can ssh into my other machine ok, and can edit
> > > > files, etc, which is no problem.
> > > >
> > > > What I would like to do is to have access to what is
> > > > currently displayed on the CLI (Konsole) on machine
> > > > B. As an example. I run apt-get update, then apt-get
> > > > dist-upgrade on machine B, which runs to completion.
> > > > The history is still on the CLI.  I now need to post
> > > > the history from the CLI on machine B to a mailing
> > > > list. The email client (Kmail) is on machine A.
> > > >
> > > > Is there a way to display the history that's on the
> > > > CLI on machine B on machine A, so that I can simply
> > > > highlight the text, then paste it to Kmails composer
> > > > on machine A?
> > > >
> > > > Both machines are next to one another, but at the
> > > > moment I have to save the CLI history on machine B as
> > > > a text file, ssh into B from A, and use nano to
> > > > display the text file, before I can highlight, and
> > > > paste the text into Kmails composer.
> > >
> > > If you do all your work from a machine running X (i.e.
> > > ssh to the others in terminal windows) you should be
> > > able to cut/paste directly from any window to any
> > > other.  Aside from being very handy for commands you
> > > want to repeat across machines, you should be able to
> > > grab the output of anything to paste into mail as long
> > > as it fits in the window or the terminal scroll-back
> > > size.
> > >
> > > --
> > >    Les Mikesell
> > >     lesmikesell at gmail.com
> >
> > Apologies for my ignorance but I'm not having much
> > success here.
> >
> > X is running on both machines, which are both next to one
> > another. At the moment I have text on KDE's Konsole on
> > machine B. I need to be able to see this text on machine
> > A. I can ssh into machine B from machine A with no
> > problem. I can then type "konsole", but this just opens
> > an empty konsole. What I'm looking for is to display
> > what's on machine B's Konsole on machine A.
> >
> > Sorry that I'm not terribly clued up.
> >
> > Nigel.
>
> ssh -Y to B from A then fire up your KDE konsole and do your
> work then you will have the information on B on the screen
> on A and then paste it into your e-mail on A.

I can see what you mean, and that process works ok, but what I'm looking for 
is a way to view whats already on machine B's Konsole from machine A.

The example was. I'm working on machine B. With the Konsole I run apt-get 
update, then apt-get dist-upgrade. The upgrade runs to completion, and I'm 
left with a lot of text on Konsole. I have a query regarding the update, but 
my email client is on the other machine. If I close Konsole I lose the text, 
unless I save it as a .txt file. What I'm looking to do is keep machine B's 
Konsole open, and be able to access it from machine A, and in this way can 
paste the text from machine B's Konsole, which is now viewable on machine A, 
onto machine A's Kmail composer.

Perhaps I'm asking too much.

Nigel.




More information about the fedora-list mailing list