This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FW: Can not config sshd




-----Original Message-----
From: Prentis Brooks [mailto:prentis@aol.net]
Sent: Thursday, May 25, 2000 3:11 PM
To: tomcw@localnet.com
Subject: RE: Can not config sshd


check your permissions on ssh_host_key  That is a pretty common mistake...
also, when you ssh, do an ssh -v, it will give you more information...

Now, in my case, I am not able to get the OpenSSH to accept rhost
authentication or RSA...

Here is what I have.  sshd is running out of inetd, and is working fine as
far as that goes, works great for password authentication.

I have put .shosts in the users directory and I have added the client's
ssh_host_key to the /etc/ssh_known_hosts file, with appropriate FQDN
preceeding the actually key.  I have gone over the permissions and can't
find any holes.  Setup duplicates existing Unix ssh configuration and
"should" work.  I am using Corinna's binaries, do I need to re-compile?

-----Original Message-----
From: cygwin-owner@sourceware.cygnus.com
[mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of Tom Weichmann
Sent: Thursday, May 25, 2000 5:28 PM
To: cygwin
Subject: Can not config sshd


Hello,

I am having trouble setting up sshd.  I have followed the
ections( 
I think) , but no luck.  I have installed ssl, and ssh. I have re-named 
sshd.exe to /usr/sbin/in.sshd.exe.  Then I added the following line 
to my inetd.conf:

ssh     stream  tcp     nowait  root    /usr/sbin/in.sshd in.sshd -i

Next I created the auth keys and placed them in the appropriate 
directories.  The host keys are in /usr/local/etc, and my user keys 
are in ~/.ssh.

After starting inetd, I 'ssh localhost', and receive the following error:

Secure connection to localhost refused.

This looks like inetd cannot find in.sshd, or there is some other 
problem in the inetd.conf.

Also, I tried in.sshd -d to try to manually start the server, and it 
tells me that it can not open /usr/local/etc/ssh_host_keys, but I did 
create the keys, and they are in /usr/local/etc.  

Anyone have any ideas?

Thanks,


Tom Weichmann

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]