Re: sshd refuses ssh connections

2005-10-20 Thread Eliah Kagan
On 10/20/05, Albert Lunde <[EMAIL PROTECTED]> wrote: > On Wed, Oct 19, 2005 at 03:27:40PM -0700, Brian Dessent wrote: > > > No, it's a red herring. The host keys should be readable only by the > > > process that runs sshd. This must be SYSTEM in order for impersonation > > > to work. Thus they s

Re: sshd refuses ssh connections

2005-10-20 Thread Albert Lunde
On Wed, Oct 19, 2005 at 03:27:40PM -0700, Brian Dessent wrote: > Brian Dessent wrote: > > > No, it's a red herring. The host keys should be readable only by the > > process that runs sshd. This must be SYSTEM in order for impersonation > > to work. Thus they should be readable only by SYSTEM, a

Re: sshd refuses ssh connections

2005-10-19 Thread Marc Jourdeuil
OTECTED]> To: Sent: Wednesday, October 19, 2005 6:15 PM Subject: Re: sshd refuses ssh connections > Chris Taylor wrote: > > > >>>i followed all instructions from: > > >>>http://pigtail.net/LRP/printsrv/cygwin-sshd.html > > You should ask the administra

Re: sshd refuses ssh connections

2005-10-19 Thread Chris Taylor
Brian Dessent wrote: Brian Dessent wrote: No, it's a red herring. The host keys should be readable only by the process that runs sshd. This must be SYSTEM in order for impersonation to work. Thus they should be readable only by SYSTEM, and that is how ssh-host-config sets things up, correct

Re: sshd refuses ssh connections

2005-10-19 Thread Brian Dessent
Brian Dessent wrote: > No, it's a red herring. The host keys should be readable only by the > process that runs sshd. This must be SYSTEM in order for impersonation > to work. Thus they should be readable only by SYSTEM, and that is how > ssh-host-config sets things up, correctly. So if you tr

Re: sshd refuses ssh connections

2005-10-19 Thread Brian Dessent
Chris Taylor wrote: > >>>i followed all instructions from: > >>>http://pigtail.net/LRP/printsrv/cygwin-sshd.html You should ask the administrator of pigtail.net for help then. We don't support other sites here. > >>>The process is running: > >>>p4-3000:marcj:{/home/marcj}160 % ps -ef > >>>... >

Re: sshd refuses ssh connections

2005-10-19 Thread René Berber
Marc Jourdeuil wrote: > If the mode of the host keys is readable by other, sshd won't start. > /var/log/sshd.log > > chmod g+r ssh_host_dsa_key > chmod g+r ssh_host_rsa_key > chmod g+r ssh_host_key Whoa there! I never said "change them", don't touch that. [snip] > /usr/sbin/sshd -D -dd > debug

Re: sshd refuses ssh connections

2005-10-19 Thread Marc Jourdeuil
dsa type -1 ssh_exchange_identification: Connection closed by remote host This not good: ssh_exchange_identification: Connection closed by remote host Marc - Original Message - From: "René Berber" <[EMAIL PROTECTED]> To: Sent: Wednesday, October 19, 2005 2:51 PM Subje

Re: sshd refuses ssh connections

2005-10-19 Thread Chris Taylor
Top-posting reformatted. Marc Jourdeuil wrote: I am trying to setup sshd on cygwin, so ssh works. i followed all instructions from: http://pigtail.net/LRP/printsrv/cygwin-sshd.html the important ones being to set variable name is CYGWIN variable value is ntsec tty as an env variable i

Re: sshd refuses ssh connections

2005-10-19 Thread René Berber
Marc Jourdeuil wrote: [snip] > Could not load host key: /etc/ssh_host_key > Could not load host key: /etc/ssh_host_rsa_key > Could not load host key: /etc/ssh_host_dsa_key This is because of... > -rw--- 1 SYSTEM None 668 Oct 19 00:43 ssh_host_dsa_key > -rw--- 1 SYSTEM None 528

Re: sshd refuses ssh connections

2005-10-19 Thread Marc Jourdeuil
try from another PC. Marc - Original Message - From: "Chris Taylor" <[EMAIL PROTECTED]> To: "Marc Jourdeuil" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, October 19, 2005 1:39 PM Subject: Re: sshd refuses ssh connections > Marc Jourdeuil wrote

Re: sshd refuses ssh connections

2005-10-19 Thread Chris Taylor
Marc Jourdeuil wrote: I am trying to setup sshd on cygwin, so ssh works. i followed all instructions from: http://pigtail.net/LRP/printsrv/cygwin-sshd.html the important ones being to set variable name is CYGWIN variable value is ntsec tty as an env variable in windows, and to append ;c

sshd refuses ssh connections

2005-10-19 Thread Marc Jourdeuil
I am trying to setup sshd on cygwin, so ssh works. i followed all instructions from: http://pigtail.net/LRP/printsrv/cygwin-sshd.html the important ones being to set variable name is CYGWIN variable value is ntsec tty as an env variable in windows, and to append ;c:\cygwin\bin to the win2