SSH support for gst-remote

Project:GNU Smalltalk
Component:VM
Category:feature
Priority:normal
Assigned:Unassigned
Status:fixed
Description

Just to avoid having to setup an ssh tunnel by hand to connect to a remote image, gst-remote could call ssh itself:

gst-remote --ssh machineSshKnowsAbout --eval...

which would make gst-remote run a child ssh -L XXXX:machineSshKnowsAbout:XXXX and connect to the local endpoint of the tunnel.

The same ssh command could also be used to launch the gst-remote --daemon command on the distant end.

Also maybe gst-remote should only accept requests from localhost by default ?

Updates

#1 submitted by Paolo Bonzini on Tue, 03/18/2008 - 11:13
Attachment:gst-remote-ssh.patch (3.93 KB)

I implemented it in d6861adf using netcat on the other side. A nice benefit is that now pipes and sockets have more compatible protocols.

It does not launch the gst-remote --daemon command on the remote end right now.

It makes sense to only accept requests from localhost by default, but it's not there yet, either. It could make sense to use the optional "host" parameter like netcat does (I think).

#2 submitted by Paolo Bonzini on Tue, 03/18/2008 - 11:13
Status:active» fixed

User login