How can I enable X11 forwarding to a Debian web server box?
I intend to connect to a web server with SSH (a Debian installment in a VMware photo). On that particular web server I intend to call gitk
a repository visitor for git
. What do I require to do to make this job?
As an addendum to Peter is proper solution :
If you are making use of Windows, you can install Cygwin/X to present remote X applications running in your area, it is extra clear than remote desktop computer.
If you simply intend to execute a covering command from another location, it is "ssh customer @hostname command". For a lot more details, see the male web page for the ssh command, or see all the OpenSSH man pages. If you have not yet made use of scp or ssh-agent, they will certainly make your life less complicated.
Also, examine that X11Forwarding
is readied to of course in /etc/ssh/sshd_config
(it is evidently the default in Debian).
To enable X11 forwarding on the web server you require at the very least the xauth
program.
- Install
xbase-clients
on the web server (or the plan which containsxauth
) -
Connect to the web server with SSH making use of the adhering to command
ssh -X servername
-
Run the program
Related questions