I am using ssh to log into one linux machine from another. ssh -l <username> -X 10.XXX.XXX.XXX But when I enter a command to start up a java app, it opens on MY linux machine instead of the remote one! How do I enter a command and have it open on the other machine (the one I am connecting TO via ssh)? Thanks, --------------------------- Eric Carbone
Don't do X forwarding. But why do you want it to open on the remote machine? How are you going to see and interact with it? Jeffrey Quoting Eric Carbone <ERIC@morprinting.com>:
I am using ssh to log into one linux machine from another.
ssh -l <username> -X 10.XXX.XXX.XXX
But when I enter a command to start up a java app, it opens on MY linux machine instead of the remote one!
How do I enter a command and have it open on the other machine (the one I am connecting TO via ssh)?
Thanks,
Eric Carbone
Eric Carbone writes:
I am using ssh to log into one linux machine from another.
ssh -l <username> -X 10.XXX.XXX.XXX
ssh -l <username> -X 10.XXX.XXX.XXX <remote command> If you create the file ~/.ssh/config and put this in it, you shouldn't have to pass the -X parameter anymore: ForwardX11 yes
But when I enter a command to start up a java app, it opens on MY linux machine instead of the remote one!
How do I enter a command and have it open on the other machine (the one I am connecting TO via ssh)?
participants (3)
-
Eric Carbone
-
Jeffrey Taylor
-
Jesse Marlin