Re: [SLUG] ssh and X forwarding woes.
On Fri, 2004-07-16 at 14:17, Jan Schmidt wrote: quote who=Richard Heycock Can anyone shed any light on this as I am going completely mad! Make sure that xbase-clients is installed on the machine you're ssh'ing into - xauth is required on the destination machine. Hurrah it works! Thanks for that. rgh J. -- Jan Schmidt [EMAIL PROTECTED] It is hard to believe that a man is telling the truth when you know that you would lie if you were in his place. - H.L. Mencken -- In theory, there is no difference between theory and practice. In practice, there is. -- Yogi Berra Richard Heycock [EMAIL PROTECTED] tel : 0410 646 369 key fingerprint : 909D CBFA C669 AC2F A937 AFA4 661B 9D21 EAAB 4291 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ssh and X forwarding woes.
Richard Heycock wrote: Hi, I have a few woes with regards to X11 forwarding over ssh. I have two machines one debian testing and one debian unstable. I have exactly the same sshd_config yet I one will allow me to tunnel X11 (unstable) and the other won't (testing). Hi Richard, Not sure of your dist, and other stuff, this is what I do. Apparently the security changed in later versions and they shut down X forwarding by default. I'm on debian. 1) Run gdmconfig... enable XDMCP 2) Open sshd_config... make sure you set this X11Forwarding yes 3) Now type on other machines... ssh -X ip enjoy I have turned maximum debug on the machine that doesn't work and there is no mention of X11 unlike the other which clearly indicates that it is setting up X11 forwarding. I have checked the permission in both /etc/ssh and ~/.ssh and both are the same. I have my private/public keys set up and I can log into both machines without entering a password or a pass phrase(I'm using ssh-agent). Can anyone shed any light on this as I am going completely mad! rgh -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ssh and X forwarding woes.
On Fri, Jul 16, 2004 at 11:08:53AM +0200, Johnny wrote: 1) Run gdmconfig... enable XDMCP 2) Open sshd_config... make sure you set this X11Forwarding yes 3) Now type on other machines... ssh -X ip What does point 1 have to do with points 2 and 3? - Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ssh and X forwarding woes.
Matthew Palmer wrote: On Fri, Jul 16, 2004 at 11:08:53AM +0200, Johnny wrote: 1) Run gdmconfig... enable XDMCP 2) Open sshd_config... make sure you set this X11Forwarding yes 3) Now type on other machines... ssh -X ip What does point 1 have to do with points 2 and 3? - Matt Um, yes I think you right, I'm mixing xterminal config with xforwarding. Just habits creeping in, its what I do and it works, so stopped thinking... happens often :) -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] ssh and X forwarding woes.
Hi, I have a few woes with regards to X11 forwarding over ssh. I have two machines one debian testing and one debian unstable. I have exactly the same sshd_config yet I one will allow me to tunnel X11 (unstable) and the other won't (testing). I have turned maximum debug on the machine that doesn't work and there is no mention of X11 unlike the other which clearly indicates that it is setting up X11 forwarding. I have checked the permission in both /etc/ssh and ~/.ssh and both are the same. I have my private/public keys set up and I can log into both machines without entering a password or a pass phrase(I'm using ssh-agent). Can anyone shed any light on this as I am going completely mad! rgh -- In theory, there is no difference between theory and practice. In practice, there is. -- Yogi Berra Richard Heycock [EMAIL PROTECTED] tel : 0410 646 369 key fingerprint : 909D CBFA C669 AC2F A937 AFA4 661B 9D21 EAAB 4291 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ssh and X forwarding woes.
quote who=Richard Heycock Can anyone shed any light on this as I am going completely mad! Make sure that xbase-clients is installed on the machine you're ssh'ing into - xauth is required on the destination machine. J. -- Jan Schmidt [EMAIL PROTECTED] It is hard to believe that a man is telling the truth when you know that you would lie if you were in his place. - H.L. Mencken -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] ssh and X forwarding woes.
On 16/07/2004, at 12:50 PM, Richard Heycock wrote: I have turned maximum debug on the machine that doesn't work and there is no mention of X11 unlike the other which clearly indicates that it is setting up X11 forwarding. In addition to Jan's suggestion, check /etc/ssh/sshd_config on the server side of the connection. Check that X11Forwarding is set to 'yes', even if you try to override it on the command line, you can't if it's set to 'no' in that file. -- Tony Green [EMAIL PROTECTED] -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html