sshd and X
Jean-Sebastien Trottier
jst1@email.com
Wed May 25 14:59:00 GMT 2005
Try using the -X switch as well:
ssh -X -Y user@host
If this works, then read man ssh_config to learn how to enable X11
forwarding by default on the client side.
Cheers,
Sebastien
On Wed, May 25, 2005 at 10:07:40AM -0400, Jean-Claude Gervais wrote:
> Thanks, Ago.
>
> Using the instructions you provided, I was able to edit the file and
> enable
>
> X11Forwarding yes
>
> I've restarted the ssh daemon, but it still doesn,t work, the DISPLAY
> variable is still not set.
>
> One thing; I changed the file
> /etc/sshd_config
> NOT
> /etc/ssh/sshd_config
>
> There is no /etc/ssh/
> folder. All the ssh-related files are in /etc
> Is that normal?
>
> Also, what should I try next?
>
> thanks.
>
>
> On Wed, 2005-05-25 at 15:25 +0200, Alexander Gottwald wrote:
> > On Wed, 25 May 2005, Jean-Claude Gervais wrote:
> >
> > > ago,
> > >
> > > Are you sure the linux box id the problem?
> >
> > Sorry, I assumed you were connecting from cygwin to linux and not the
> > other way.
> >
> > > > > I can't seem to change the settings in the config files.
> > > > > I am logged on to the machine a me/domain
> > > > > The user I am logged on as is in the W2K machine's Administrators
> > > > > group.
> > > > > But the config file is owned by SYSTEM and I can't seem to edit it.
> > > > > What's the best course of action?
> >
> > sshd is running as user SYSTEM and so they are owned by him. Changing the
> > file permissions may help
> >
> > chmod go+w /etc/ssh/sshd_config
> > vi /etc/ssh/sshd_config
> > chmod go-w /etc/ssh/sshd_config
> >
> > But that's only a wild guess
> >
> > bye
> > ago
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20050525/bddede67/attachment.sig>
More information about the Cygwin-xfree
mailing list