public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ssh trouble
@ 2008-10-28 16:09 Allan Gottlieb
  2008-10-28 16:26 ` Brian Wince
  0 siblings, 1 reply; 7+ messages in thread
From: Allan Gottlieb @ 2008-10-28 16:09 UTC (permalink / raw
  To: gentoo-user

Yesterday's update to ssh (openssh-5.1_p1-r1) is giving me trouble.

The client is allan.  The server is ajglap.

From the client (gnome-terminal) I can run ssh as follows

    gottlieb@allan ~ $ ssh ajglap
    Last login: Tue Oct 28 11:50:02 EDT 2008 from allan on ssh
    Last login: Tue Oct 28 11:54:33 2008 from allan
    xhost:  unable to open display ""
    gottlieb@ajglap ~ $ 

adding a -Y gives the same output

But I can't run other server programs from the client.  The following
used to start emacs on the server displaying a new X11 window on the
client.

    gottlieb@allan ~ $ ssh -Y ajglap emacs
    emacs: standard input is not a tty
    gottlieb@allan ~ $ 

removing the -Y gives the same output

I went to the server and created ~/.ssh/config with contents

    ForwardX11Trusted yes

But this didn't help (I also tried the risky ForwardX11).

I am planning to downgrade, but wanted to ask here first if I have just
misconfigured something (bugs.gentoo.org didn't seem to have anything
relevant).

thanks,
allan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [gentoo-user] ssh trouble
  2008-10-28 16:09 [gentoo-user] ssh trouble Allan Gottlieb
@ 2008-10-28 16:26 ` Brian Wince
  2008-10-28 16:46   ` Allan Gottlieb
  0 siblings, 1 reply; 7+ messages in thread
From: Brian Wince @ 2008-10-28 16:26 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org



-----Original Message-----
From: Allan Gottlieb [mailto:gottlieb@nyu.edu]
Sent: Tuesday, October 28, 2008 9:09 AM
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] ssh trouble

Yesterday's update to ssh (openssh-5.1_p1-r1) is giving me trouble.

The client is allan.  The server is ajglap.

From the client (gnome-terminal) I can run ssh as follows

    gottlieb@allan ~ $ ssh ajglap
    Last login: Tue Oct 28 11:50:02 EDT 2008 from allan on ssh
    Last login: Tue Oct 28 11:54:33 2008 from allan
    xhost:  unable to open display ""
    gottlieb@ajglap ~ $

adding a -Y gives the same output

But I can't run other server programs from the client.  The following
used to start emacs on the server displaying a new X11 window on the
client.

    gottlieb@allan ~ $ ssh -Y ajglap emacs
    emacs: standard input is not a tty
    gottlieb@allan ~ $

removing the -Y gives the same output

I went to the server and created ~/.ssh/config with contents

    ForwardX11Trusted yes

But this didn't help (I also tried the risky ForwardX11).

I am planning to downgrade, but wanted to ask here first if I have just
misconfigured something (bugs.gentoo.org didn't seem to have anything
relevant).

thanks,
allan


Is "X11Forwarding yes" set in the sshd_config on ajglap?

brian



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ssh trouble
  2008-10-28 16:26 ` Brian Wince
@ 2008-10-28 16:46   ` Allan Gottlieb
  2008-10-28 16:58     ` Alan McKinnon
  0 siblings, 1 reply; 7+ messages in thread
From: Allan Gottlieb @ 2008-10-28 16:46 UTC (permalink / raw
  To: gentoo-user

At Tue, 28 Oct 2008 09:26:07 -0700 Brian Wince <bwince@redback.com> wrote:

>   -----Original Message-----
>   From: Allan Gottlieb [mailto:gottlieb@nyu.edu]
>   Sent: Tuesday, October 28, 2008 9:09 AM
>   To: gentoo-user@lists.gentoo.org
>   Subject: [gentoo-user] ssh trouble
>  
>   Yesterday's update to ssh (openssh-5.1_p1-r1) is giving me trouble.
>  
>   The client is allan.  The server is ajglap.
>  
>  >From the client (gnome-terminal) I can run ssh as follows
>  
>       gottlieb@allan ~ $ ssh ajglap
>       Last login: Tue Oct 28 11:50:02 EDT 2008 from allan on ssh
>       Last login: Tue Oct 28 11:54:33 2008 from allan
>       xhost:  unable to open display ""
>       gottlieb@ajglap ~ $
>  
>   adding a -Y gives the same output
>  
>   But I can't run other server programs from the client.  The following
>   used to start emacs on the server displaying a new X11 window on the
>   client.
>  
>       gottlieb@allan ~ $ ssh -Y ajglap emacs
>       emacs: standard input is not a tty
>       gottlieb@allan ~ $
>  
>   removing the -Y gives the same output
>  
>   I went to the server and created ~/.ssh/config with contents
>  
>       ForwardX11Trusted yes
>  
>   But this didn't help (I also tried the risky ForwardX11).
>  
>   I am planning to downgrade, but wanted to ask here first if I have just
>   misconfigured something (bugs.gentoo.org didn't seem to have anything
>   relevant).
>  
>   thanks,
>   allan
>
> Is "X11Forwarding yes" set in the sshd_config on ajglap?

It is now!

thanks,
allan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ssh trouble
  2008-10-28 16:46   ` Allan Gottlieb
@ 2008-10-28 16:58     ` Alan McKinnon
  2008-10-28 17:13       ` Allan Gottlieb
  0 siblings, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2008-10-28 16:58 UTC (permalink / raw
  To: gentoo-user

On Tuesday 28 October 2008 18:46:11 Allan Gottlieb wrote:
> At Tue, 28 Oct 2008 09:26:07 -0700 Brian Wince <bwince@redback.com> wrote:
> >   -----Original Message-----
> >   From: Allan Gottlieb [mailto:gottlieb@nyu.edu]
> >   Sent: Tuesday, October 28, 2008 9:09 AM
> >   To: gentoo-user@lists.gentoo.org
> >   Subject: [gentoo-user] ssh trouble
> >
> >   Yesterday's update to ssh (openssh-5.1_p1-r1) is giving me trouble.

I take it you did the obvious and restarted sshd after the upgrade?


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ssh trouble
  2008-10-28 16:58     ` Alan McKinnon
@ 2008-10-28 17:13       ` Allan Gottlieb
  2008-10-28 18:40         ` Alan McKinnon
  0 siblings, 1 reply; 7+ messages in thread
From: Allan Gottlieb @ 2008-10-28 17:13 UTC (permalink / raw
  To: gentoo-user

At Tue, 28 Oct 2008 18:58:16 +0200 Alan McKinnon <alan.mckinnon@gmail.com> wrote:

> On Tuesday 28 October 2008 18:46:11 Allan Gottlieb wrote:
>> At Tue, 28 Oct 2008 09:26:07 -0700 Brian Wince <bwince@redback.com> wrote:
>> >   -----Original Message-----
>> >   From: Allan Gottlieb [mailto:gottlieb@nyu.edu]
>> >   Sent: Tuesday, October 28, 2008 9:09 AM
>> >   To: gentoo-user@lists.gentoo.org
>> >   Subject: [gentoo-user] ssh trouble
>> >
>> >   Yesterday's update to ssh (openssh-5.1_p1-r1) is giving me trouble.
>
> I take it you did the obvious and restarted sshd after the upgrade?

Yes.  Indeed it was the next day that I encountered the failure.
Brian's fix was what I needed.  I must have changed the config last time
and not left my usual
# AJG:
marker to alert me.  I should have noticed the change to X11Forwarding
when I did etc-update, but unfortunately did not.

allan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ssh trouble
  2008-10-28 17:13       ` Allan Gottlieb
@ 2008-10-28 18:40         ` Alan McKinnon
  2008-10-28 18:56           ` Joshua Murphy
  0 siblings, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2008-10-28 18:40 UTC (permalink / raw
  To: gentoo-user

On Tuesday 28 October 2008 19:13:19 Allan Gottlieb wrote:
> At Tue, 28 Oct 2008 18:58:16 +0200 Alan McKinnon <alan.mckinnon@gmail.com> 
wrote:
> > On Tuesday 28 October 2008 18:46:11 Allan Gottlieb wrote:
> >> At Tue, 28 Oct 2008 09:26:07 -0700 Brian Wince <bwince@redback.com> 
wrote:
> >> >   -----Original Message-----
> >> >   From: Allan Gottlieb [mailto:gottlieb@nyu.edu]
> >> >   Sent: Tuesday, October 28, 2008 9:09 AM
> >> >   To: gentoo-user@lists.gentoo.org
> >> >   Subject: [gentoo-user] ssh trouble
> >> >
> >> >   Yesterday's update to ssh (openssh-5.1_p1-r1) is giving me trouble.
> >
> > I take it you did the obvious and restarted sshd after the upgrade?
>
> Yes.  Indeed it was the next day that I encountered the failure.
> Brian's fix was what I needed.  I must have changed the config last time
> and not left my usual
> # AJG:
> marker to alert me.  I should have noticed the change to X11Forwarding
> when I did etc-update, but unfortunately did not.

Yup, it's those pesky config files and the need to put stuff in them :-)

Config files really should be more intelligent and know to do what you want 
not what you say....



-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] ssh trouble
  2008-10-28 18:40         ` Alan McKinnon
@ 2008-10-28 18:56           ` Joshua Murphy
  0 siblings, 0 replies; 7+ messages in thread
From: Joshua Murphy @ 2008-10-28 18:56 UTC (permalink / raw
  To: gentoo-user

On Tue, Oct 28, 2008 at 2:40 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Tuesday 28 October 2008 19:13:19 Allan Gottlieb wrote:
>> At Tue, 28 Oct 2008 18:58:16 +0200 Alan McKinnon <alan.mckinnon@gmail.com>
> wrote:
>> > On Tuesday 28 October 2008 18:46:11 Allan Gottlieb wrote:
>> >> At Tue, 28 Oct 2008 09:26:07 -0700 Brian Wince <bwince@redback.com>
> wrote:
>> >> >   -----Original Message-----
>> >> >   From: Allan Gottlieb [mailto:gottlieb@nyu.edu]
>> >> >   Sent: Tuesday, October 28, 2008 9:09 AM
>> >> >   To: gentoo-user@lists.gentoo.org
>> >> >   Subject: [gentoo-user] ssh trouble
>> >> >
>> >> >   Yesterday's update to ssh (openssh-5.1_p1-r1) is giving me trouble.
>> >
>> > I take it you did the obvious and restarted sshd after the upgrade?
>>
>> Yes.  Indeed it was the next day that I encountered the failure.
>> Brian's fix was what I needed.  I must have changed the config last time
>> and not left my usual
>> # AJG:
>> marker to alert me.  I should have noticed the change to X11Forwarding
>> when I did etc-update, but unfortunately did not.
>
> Yup, it's those pesky config files and the need to put stuff in them :-)
>
> Config files really should be more intelligent and know to do what you want
> not what you say....

They also should be almost completely unreadable and stored in one big
conglomerated mass from everything on the system. Just like that
*other* OS!

(I can't ever seem to break out of my lurking on a serious note.)

-- 
Poison [BLX]
Joshua M. Murphy



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-10-28 18:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-28 16:09 [gentoo-user] ssh trouble Allan Gottlieb
2008-10-28 16:26 ` Brian Wince
2008-10-28 16:46   ` Allan Gottlieb
2008-10-28 16:58     ` Alan McKinnon
2008-10-28 17:13       ` Allan Gottlieb
2008-10-28 18:40         ` Alan McKinnon
2008-10-28 18:56           ` Joshua Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox