ssh tunnels Re: ftp/sftp and Amaya

On Wed, 25 Aug 2004, Irene Vatton wrote:

>On Thu, 15 Jul 2004 19:07:07 +0200
>"V. Risak" <veith.risak@tele2.at> wrote:
>
>> I have a problem; perhaps someone can give me a hint:
>>
>> I use Amaya to compose/maintain xml and xhtml-texts for my lectures.
>> The files are at a university-server in Salzburg and I often maintain
>> them from Vienna.
>> Because of spam, hacking and worse the Salzburg-server is very
>> restrictive. I have only access from abroad by ssh and sftp and a firewall.
>>
>> Therefore I am not able to work with these files directly from Amaya. I
>> always have to download (sftp) the files, maintain them and then upload
>> them back.

>> Is there any way to work directly with Amaya using sftp?

I think the answer is currently "no". I believe that there is support in
libwww for sftp, so it should be possible to dig in the code and make this an
option, but I don't know where to start. (If someone does know, and is
prepared to write up an explanation, it would be very helpful for people
intersted in working with other protocols. My current dream is that I can use
Amaya to handle mail, treating messages like it treats threaded annotations.

>You know that the ftp put can be protected by passwords and resricted to
>a limited set of people. But I suspect you cannot change your current constraints.
>I'm not expert in ssh and I don't know if it's possible to launche Amaya thru a
>ssh tunnel.
>One solution could be to write a script that does automatically the job before and
>after launching the amaya session.

I have CVS access to our site through ssh, so I can edit something locally,
and then use CVS to update. You should also be able to tunnel your HTTP
puts, but you need to ask someone who knows ssh better. Finally, you coud run
an X session through an ssh tunnel, so it runs locally to your work system,
but amaya appears where you are. This is one of the great things about X, but
it is a long time since I have used the functionality and forget the
mechanics of making  it work :-(

Hope those ideas give you some leads that are useful...

cheers

Chaals

Received on Wednesday, 25 August 2004 14:27:37 UTC