Posts Tagged remote
LCOD – 6.6.07 – Simple SSH remote command execution
Posted by Jon Zobrist in Linux, Linux Command of the Day on June 6, 2007
ssh -X -C -f HOSTNAME PROGRAM
Of course you need to be running an X server (Linux/*BSD Desktop) on your client, and you need to have
ForwardX11 yes
or
ForwardX11Trusted yes
in your CLIENT’s /etc/ssh/ssh_config file
and
X11Forwarding yes
in /etc/ssh/sshd_config
on the SERVER.