Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Let local user watch my ssh while I install gentoo remotely?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jeffk
l33t
l33t


Joined: 13 Sep 2003
Posts: 671

PostPosted: Sun Apr 18, 2004 7:24 pm    Post subject: Let local user watch my ssh while I install gentoo remotely? Reply with quote

After much prodding, I have two colleagues who will be installing Gentoo in the next week or so. I'd like to have them boot a livecd, start sshd and let me go through my stage-1 install routine while they view my ssh command activity, for a guided 'lesson'.

It would be great if I could just connect to their console this way, so the commands could be issued by myself or them, as appropriate. Sort of like a VNC for ssh.

Does anyone know of a console broadcaster that would work this way? It only makes sense if it can be used with the environment of a basic LiveCD, and will survive the chroot step of a stage-1 install. Thanks.
Back to top
View user's profile Send private message
EliasP
Guru
Guru


Joined: 06 Dec 2002
Posts: 318
Location: South-West Germany

PostPosted: Sun Apr 18, 2004 7:56 pm    Post subject: Reply with quote

There should be "screen" at the Live-CDs.

1.) Start a screen session by just typing
Code:

screen -S installation

2.) Let your colleagues do a login and watching your session by typing
Code:

screen -x ${PID}.installation

${PID} is the pid of the current screen sessions.
Code:

screen -list

tells you the complete name you have to use.

3.) Start inside the screen session your installation


Greetings

Elias P.
Back to top
View user's profile Send private message
jeffk
l33t
l33t


Joined: 13 Sep 2003
Posts: 671

PostPosted: Sun Apr 18, 2004 8:37 pm    Post subject: Reply with quote

Thanks, I had been reading about screen very recently, nice of them to include it on the livecds.

I presume step '0' is to have the user:
- boot the LiveCD
- change the root password
- /etc/init.d/ssh start
- I then ssh into the box.

Thanks again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum