![](https://seccdn.libravatar.org/avatar/98b4308dea1244ecdc466d868352a98f.jpg?s=120&d=mm&r=g)
26 Mar
2002
26 Mar
'02
14:53
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)?