SSHd permission problem

Michael Erdely mike@erdelynet.com
Wed Mar 14 10:16:00 GMT 2001


That is not true in every case.  In fact, I've never had to reboot in order
to make those permissions take effect.  I'm not discounting that it may ever
be the case, though.

-ME

----- Original Message -----
From: "Bret Jordan" <jordan@coe.utah.edu>
To: <cygwin@cygwin.com>
Sent: Wednesday, March 14, 2001 12:08 PM
Subject: Re: SSHd permission problem


> And after you set the permissions you need to reboot.  NT can not assign
> those permissions on the fly.
>
> Bret
>
> At 05:12 PM 3/14/2001 +0100, you wrote:
> >On Wed, Mar 14, 2001 at 04:39:47PM +0100, Axel Kowald wrote:
> > > Hello Corinna,
> > >
> > > > Send output of ssh -v, please.
> > >
> > > This time I started sshd -d on the command line to get the debug
output.
> > > For this I made a separate copy of the ssh_host_key files which is
owned
> > > by me (kowald). Here is the output of ssh -v localhost and ssh -d :
> >
> >This definitely looks as if your account still hasn't the
> >correct user rights set. The needed user rights are described in
> >/usr/doc/Cygwin/openssh-2.5.1p2.README. Just set them for your
> >account and it will work, probably.
> >
> >Corinna
> >
> > > > 101 (/home): ssh -v localhost
> > > > OpenSSH_2.5.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
> > > > debug: Reading configuration data /etc/ssh_config
> > > > debug: ssh_connect: getuid 1000 geteuid 1000 anon 1
> > > > debug: Connecting to localhost [127.0.0.1] port 22.
> > > > debug: Connection established.
> > > > debug: identity file //e/CygwinStuff/home/.ssh/identity type 0
> > > > debug: identity file //e/CygwinStuff/home/.ssh/id_rsa type 3
> > > > debug: identity file //e/CygwinStuff/home/.ssh/id_dsa type 3
> > > > debug: Remote protocol version 1.5, remote software version
> > OpenSSH_2.5.1p2
> > > > debug: match: OpenSSH_2.5.1p2 pat ^OpenSSH
> > > > debug: Local version string SSH-1.5-OpenSSH_2.5.1p2
> > > > debug: Waiting for server public key.
> > > > debug: Received server public key (768 bits) and host key (1024
bits).
> > > > debug: Forcing accepting of host key for loopback/localhost.
> > > > debug: Seeding random number generator
> > > > debug: Encryption type: 3des
> > > > debug: Sent encrypted session key.
> > > > debug: Installing crc compensation attack detector.
> > > > debug: Received encrypted confirmation.
> > > > debug: Doing password authentication.
> > > > kowald@localhost's password:
> > > > Permission denied, please try again.
> > > > kowald@localhost's password:
> > > >
> > > >
> > > > ====================================================
> > > >
> > > >
> > > > 111 (/home): sshd -d -h /etc/mykey/ssh_host_key
> > > > debug1: sshd version OpenSSH_2.5.1p2
> > > > debug1: load_private_key_autodetect: type 0 RSA1
> > > > error: Could not load host key: /etc/ssh_host_key: Permission denied
> > > > error: Could not load host key: /etc/ssh_host_rsa_key: Permission
denied
> > > > error: Could not load host key: /etc/ssh_host_dsa_key: Permission
denied
> > > > Disabling protocol version 2. Could not load host key
> > > > debug1: Seeding random number generator
> > > > debug1: Bind to port 22 on 0.0.0.0.
> > > > Server listening on 0.0.0.0 port 22.
> > > > Generating 768 bit RSA key.
> > > > debug1: Seeding random number generator
> > > > RSA key generation complete.
> > > > debug1: Server will not fork when running in debugging mode.
> > > > Connection from 127.0.0.1 port 3327
> > > > debug1: Client protocol version 1.5; client software version
> > OpenSSH_2.5.1p2
> > > > debug1: match: OpenSSH_2.5.1p2 pat ^OpenSSH
> > > > debug1: Local version string SSH-1.5-OpenSSH_2.5.1p2
> > > > debug1: Rhosts Authentication disabled, originating port not
trusted.
> > > > debug1: Sent 768 bit server key and 1024 bit host key.
> > > > debug1: Encryption type: 3des
> > > > debug1: Received session key; encryption turned on.
> > > > debug1: Installing crc compensation attack detector.
> > > > debug1: Attempting authentication for kowald.
> > > > Failed password for kowald from 127.0.0.1 port 3327
> > > >
> > >
> > > --
> > > Want to unsubscribe from this list?
> > > Check out: http://cygwin.com/ml/#unsubscribe-simple
> >
> >--
> >Corinna Vinschen                  Please, send mails regarding Cygwin to
> >Cygwin Developer                                mailto:cygwin@cygwin.com
> >Red Hat, Inc.
> >
> >--
> >Want to unsubscribe from this list?
> >Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Bret Jordan                       Dean's Office
> LAN Manager              College of Engineering
> 801.585.3765                 University of Utah
>               jordan@coe.utah.edu
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list