SCP in XFTree?

edscott wilson garcia edscott at imp.mx
Mon Sep 2 15:25:37 CEST 2002


On Mon, 2002-09-02 at 08:09, wolfgang wrote:
> In an older episode (Monday 02 September 2002 15:00), edscott wilson garcia 
> wrote:
> 
> > The way xftree has been handling the issue so far is by opening a remote
> > instance of xftree on the the computer you wish to browse (with ssh,
> > telnet, rsh, rexec, etc), then you just drag and drop between a local
> > xftree and a remote xftree.
> 
> how would i "open" a remote machine with ssh in xfce? i can't seem to find it 
> ...

The easiest is to ssh to the remote machine, login, and just execute
xftree. If X11 forwarding is not enabled (rare case), then there is 
need to set the environment variable DISPLAY on the remote host and to
authorize the remote host to open windows on the local box by means of
the program "xhost" (see man xhost). A more fancy way is to have ssh
directly execute a script on the remote host. Below you will find a
script to execute any program with up to 9 parameters on the remote
machine and displayed at the local machine called "huitzi". It works
like a charm with ssh configured to provide access without password
challenge.

Edscott

the script:
#!/bin/sh

PATH=/usr/bin:/usr/bin/X11:/bin:/usr/local/bin:/home/edscott/bin
export PATH
DISPLAY="huitzi"
DISPLAY="$DISPLAY:0.0"
export DISPLAY
`$1 $2 $3 $4 $5 $6 $7 $8 $9`







> 
> regards,
> wolfgang
> 
> _______________________________________________
> Xfce mailing list
> Xfce at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce





More information about the Xfce mailing list