Author

Topic: share / mirror an existing terminal window's output via ssh? (Read 6781 times)

legendary
Activity: 1400
Merit: 1013
Once you learn GNU Screen you'll never be able to live without it.
newbie
Activity: 20
Merit: 0
you're welcome,

there's some really interesting and useful stuff in here too...

http://stackoverflow.com/questions/1075947/using-gnu-screen-completely-transparently-and-automatically

It details using ssc instead of ssh when logging into remote machine to set up a 'screened' session that you can later log back into later to start any processed or screened sessions on the host form the remote machine.


Since discovering bitcoin and mining I've learnt so much new stuff.
It's probably all really simple everyday stuff to a lot of people, but my knowledge of unix, terminal commands, overclocking, flashing bios etc etc have gone from zero to 'enough for now' in just a few days...  see, bitcoin has more advantages than people give it credit for  Wink
full member
Activity: 126
Merit: 101
Thanks for posting the solution
newbie
Activity: 20
Merit: 0
okay - thought i'd post that i've figured out a solution to the above   Grin

I found this webpage that explains exactly how to do what i want.

http://www.pixelbeat.org/docs/screen/

In a nutshell, in terminal session on the host computer using the 'screen' command allows can set up a user that can then ssh into that host computer and join the shared session.

The terminal session works / is interactive on both computers (host and viewer) but can be made view or read only.

Is the user later disconnects, any processes running on the host computer keep going, and the user can reconnect at any time.

Perfect for monitoring my miner and temperature etc from another device such as my iphone, and I don't have to worry about killin gprocesses by quitting terminal on the phone.

Perfect.

Hope this helps someone!

newbie
Activity: 20
Merit: 0
Not sure the best way to describe what I'm trying to achieve... hope the title of my post make sense!

I have a mac pro 'dual booting' into linux (ubuntu) and running Phoenix in a terminal window.

i want to remote monitor this machine remotely, eventually turning it into a headless miner.

I already know how SSH into the machine from a remote computer, but that obviously creates a new terminal session.

What I want to do is remotely log into the mining machine and spy on the output from the Phoenix miner (essentially being able to see the output from the terminal window running on that machine).

VNC is a possibility, but sees over kill for this. I don't want to share the screen, just see the out put form an laready running terminal window.

Does that make sense?

Any help greatly appreciated!

Thanks
tictok



Jump to: