![](https://seccdn.libravatar.org/avatar/d70f8a8240c69007852b9d1bf27e170b.jpg?s=120&d=mm&r=g)
26 Mar
2002
26 Mar
'02
22:24
* Mark Hounschell (dmarkh@cfl.rr.com) [020326 14:20]:
But he is actually loging on the the remote box acording to his command sequence:
ssh -l <username> -X 10.XXX.XXX.XXX enter password for username export DISPLAY=XXX.XXX.XXX.XXX:0 cd ./bin/crushftp /usr/bin/nohup java -jar CrushFTP.jar
That's not going to work since the ftp thingy is an X client.
In which case /usr/bin/nohup java -jar CrushFTP.jar & should work right???
No, the Xserver will kill the connection to the X client which will cause the client to die.
ssh -X -f remotehost '/path/to/java -jar CrushFTP.jar'
should also work from the local machine so he won't have to log in to the remote.
He's still logging in, he's just not requesting a login shell. -- -ckm