When I'm using the line below in script:ssh -Y user@host /home/user/xxx  (xxx is gui script will open GUI window)It is giving me error as below:xauth: not found.stty: : Not a typewriterX11 connection rejected because of wrong authentication.X connection to 10.100.2.23:10.0 broken (explicit kill or server shutdown). One solution I found on the net was to edit /etc/ssh/sshd_config file and set: X11Forwarding yesBut I can't open sshd_config file:grep X11Forwarding /etc/ssh/sshd_configgrep: can't open /etc/ssh/sshd_configBut if I run this command:ssh -Y user@host`After reached at the new host if I try to execute:xxx  (xxx is gui script will open GUI window) It works fine. I have to use it in script only. Any suggestions?
While using ssh with Gui script it is giving error
linux