Re: sshd refuses ssh connections

2005-10-19 Thread Marc Jourdeuil
I successfully stopped sshd. /usr/sbin/sshd -D -dd debug2: load_server_config: filename /etc/sshd_config debug2: load_server_config: done config len = 187 debug2: parse_server_config: config /etc/sshd_config len 187 debug1: sshd version OpenSSH_3.9p1 Could not load host key: /etc/ssh_host_key

Re: sshd refuses ssh connections

2005-10-19 Thread René Berber
wasn't running any firewall before. I restarted zonealarm, but that > doesn't seem to be a factor right now. > It might be later, when I try from another PC. It will. >>>ssh: connect to host localhost port 22: Connection refused There are few possibilities for this, eith

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

Re: sshd refuses ssh connections

2005-10-19 Thread Marc Jourdeuil
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 -rwxr-xr-x 1 SYSTEM None1159 Oct 19 14:42 ssh_config -rw--- 1 SYSTEM None 668 Oct 19

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

Re: sshd refuses ssh connections

2005-10-19 Thread Brian Dessent
; >>>p4-3000:marcj:{/home/marcj}160 % ps -ef > >>>... > >>> SYSTEM 480 728 ? 00:48:33 /usr/sbin/sshd > >>> > >>> > >>>and the port 22 is listening: > >>>p4-3000:marcj:{/etc}183 % netstat -an > >>> >

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, corr

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 thin

Re: sshd refuses ssh connections

2005-10-19 Thread Marc Jourdeuil
ok, start over... stop the sshd cygrunsrv --stop sshd Delete /etc/ssh* p4-3000:marcj:{/etc}322 % ssh-host-config Generating /etc/ssh_host_key Generating /etc/ssh_host_rsa_key Generating /etc/ssh_host_dsa_key Generating /etc/ssh_config file Privilege separation is set to yes by default since

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 shou

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 imperso

RES: sshd on windows 2000

2005-11-21 Thread Felipe Franciosi
[mailto:[EMAIL PROTECTED] Em nome de Jeff Sadowski Enviada em: segunda-feira, 21 de novembro de 2005 21:07 Para: cygwin@cygwin.com Assunto: sshd on windows 2000 I have one server that has a problem with sshd. And its a strange problem that I don't know what is causing it. Seems to be an authen

Re: sshd on windows 2000

2005-11-21 Thread Larry Hall (Cygwin)
Jeff Sadowski wrote: I have one server that has a problem with sshd. And its a strange problem that I don't know what is causing it. Seems to be an authentication problem but I'm not really sure about that. Also there is a problem starting it. When I try starting it the server times ou

sshd crahes; ssh instal fails

2005-12-02 Thread kumarchi
hello: I just downloaded latest version of cygwin. I tried to install ssh using the install scripts. however sshd does not startup and it hangs. anybody else noticed this problem? thanx -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com

Re: sshd must be restarted

2006-01-06 Thread Chris Taylor
Ken Senior wrote: Does anyone know why after a Windows XP reboot one must restart the SSH daemon in order to allow incoming ssh? The process is automatically running after a reboot but all incoming SSH from remote clients are terminated with the following message being displayed on the remote cl

Re: sshd must be restarted

2006-01-06 Thread Ken Senior
confused about what was my home directory. Some packages (SSH) think the home page should be /home/senior whereas the default bash shell thinks it's located in /cygdrive/c/Documents and Settings/senior.DOMAIN. Now, regarding installation of the sshd service. I simply ran the '/usr/bi

Re: sshd must be restarted

2006-01-06 Thread Brian Dessent
host machine, since any errors would be displayed there. What it sounds like is that the service is starting before some other required networking component has started. As part of the XP bootup time optimizations a lot of stuff is launched in parallel. You might try setting 'tcpip' as a s

Re: sshd must be restarted

2006-01-06 Thread Chris Taylor
ts and Settings/senior.DOMAIN. Now, regarding installation of the sshd service. I simply ran the '/usr/bin/ssh-host-config -y' command followed by 'cygrunsrv -S sshd' This all sounds like a cruel permissions problem, yuck! -K That would be the problem. Specifically, ss

Re: sshd must be restarted

2006-01-06 Thread Chris Taylor
errors would be displayed there. What it sounds like is that the service is starting before some other required networking component has started. As part of the XP bootup time optimizations a lot of stuff is launched in parallel. You might try setting 'tcpip' as a startup dependency o

Re: sshd must be restarted

2006-01-06 Thread Igor Peshansky
; What it sounds like is that the service is starting before some other > > required networking component has started. As part of the XP bootup > > time optimizations a lot of stuff is launched in parallel. You might > > try setting 'tcpip' as a startup dependency of the

Re: sshd must be restarted

2006-01-06 Thread Brett Serkez
> > I wonder if it would be worth having ssh-host-config set tcpip as a > > dependancy for sshd on all systems? While this doesn't seem to have > > cropped up much, specifically, it couldn't hurt.. > > This has been discussed before, see > <http://cygwin.

Re: sshd must be restarted

2006-01-06 Thread Chris Taylor
Brett Serkez wrote: I wonder if it would be worth having ssh-host-config set tcpip as a dependancy for sshd on all systems? While this doesn't seem to have cropped up much, specifically, it couldn't hurt.. This has been discussed before, see <http://cygwin.com/ml/cygwin/2005-12/

RE: sshd must be restarted

2006-01-06 Thread David Christensen
Ken Senior wrote: > Does anyone know why after a Windows XP reboot one must restart the SSH > daemon in order to allow incoming ssh? rebaseall was the cure for me: http://sourceware.org/ml/cygwin/2005-02/msg00465.html > One interesting oddity about my installation is that I have two > usern

Re: sshd must be restarted

2006-01-07 Thread Ken Senior
David Christensen wrote: >Ken Senior wrote: > > >>Does anyone know why after a Windows XP reboot one must restart the SSH >>daemon in order to allow incoming ssh? >> >> > >rebaseall was the cure for me: > >http://sourceware.org/ml/cygwin/2005-02/msg00465.html > > > > Installing and run

Re: sshd must be restarted

2006-01-07 Thread Larry Hall (Cygwin)
Ken Senior wrote: Some packages (SSH) think the home page should be /home/senior whereas the default bash shell thinks it's located in /cygdrive/c/Documents and Settings/senior.DOMAIN. This is not surprising. You set HOME in your environment to point to '/cygdrive/c/Documents and Settings

Start sshd server on reinstallation

2006-01-07 Thread Ordinary Olson
Hi, I recently installed cygwin to my C drive – however after realizing its size, I decided to move it to the D drive. So I stopped the sshd server that I had running, deleted the registry keys under `HKEY_LOCAL_MACHINE' and `HKEY_CURRENT_USER’ and then just deleted the C:\cygwin dire

Re: sshd must be restarted

2006-01-09 Thread Ken Senior
As I mentioned before, I have *two* entries in /etc/passwd, one corresponding to my "senior" account on the local system and one corresponding to the domain account. I've had some really strange behavior as a result. I was able to rsync from the windows box to itself only to discover that the

Re: sshd must be restarted

2006-01-09 Thread Corinna Vinschen
On Jan 6 13:07, Chris Taylor wrote: > I wonder if it would be worth having ssh-host-config set tcpip as a > dependancy for sshd on all systems? While this doesn't seem to have > cropped up much, specifically, it couldn't hurt.. I've send a patch upstream which adds

Re: sshd must be restarted

2006-01-09 Thread Igor Peshansky
Ugh, top-posting... Reformatted. On Mon, 9 Jan 2006, Ken Senior wrote: > Larry Hall (Cygwin) wrote: > > > Ken Senior wrote: > > > > > > > > > Some packages (SSH) think the home page should be /home/senior > > > whereas the default bash shell thinks it's located in > > > /cygdrive/c/Documents an

sshd problem: setgid: Invalid argument

2005-05-04 Thread Douglas De Couto
web and the best I could find was that perhaps my user didn't have a valid group on the machine, but, that's not the case. I've tried reinstalling the OpenSSH package, removing the sshd user from the system, and various other combinations of tricks, but, no change. Can anyone

sshd "owned by root" error

2005-05-06 Thread Ordal, Peter
t;owned by root" meant was actually owned by the account running sshd. So, when I ran /usr/sbin/sshd -D under my domain account, I had to chown /var/empty to my account. I tried to get sshd to run as a service under the system account, but it wouldn't start. The console error message (on t

Re: sshd and cygwin1.dll

2005-05-16 Thread Christopher Faylor
On Mon, May 16, 2005 at 05:47:01PM -0700, B Aswin wrote: >Hi, > >I have a similar problem with Bruno Paulet >(http://sourceware.org/ml/cygwin/2004-10/msg01450.html). > >The problem is that I have the following error message >box when starting sshd (using net start

Re: sshd and cygwin1.dll

2005-05-17 Thread Corinna Vinschen
On May 16 17:47, B Aswin wrote: > What I did: > Setup cygwin > setup ssh using this guide: > http://pigtail.net/LRP/printsrv/cygwin-sshd.html > And then i have the error mentioned. Nuke the installation. The above instructions are old stuff and not supported by this list anyway. Use the instruct

Re: sshd and cygwin1.dll

2005-05-17 Thread Brian Dessent
B Aswin wrote: > as Bruno had. From the above thread, Larry Hall > pointed out that there is old cygwin1.dll in the > system. This is not applicable in my case since it's a > brand new machine with no previous cygwin > installation. Even if you've never installed Cygwin before on the machine, tha

Re: sshd and cygwin1.dll

2005-05-17 Thread B Aswin
Thank you, for the info --- Corinna Vinschen <[EMAIL PROTECTED]> wrote: > On May 16 17:47, B Aswin wrote: > > What I did: > > Setup cygwin > > setup ssh using this guide: > > http://pigtail.net/LRP/printsrv/cygwin-sshd.html > > And then i have the error mentioned. > > Nuke the installation. The

Re: sshd forks and fails

2005-07-27 Thread Larry Hall
At 10:10 AM 7/27/2005, you wrote: >Hallöchen! > >After some trouble with the sshd service, I re-installed the whole >Win2k. The result is that I've come one step further than before. > >The process starts, but sshd doesn't let me in. I've set >CYGWIN="nt

Re: sshd forks and fails

2005-07-27 Thread Torsten Bronger
Halloechen! Larry Hall <[EMAIL PROTECTED]> writes: > At 10:10 AM 7/27/2005, you wrote: > >> [...] At the same time, the line >> >>762068650 [main] sshd 864 fork_copy: linked dll data/bss pass 0 failed, >>0x33B000..0x33B040, done 0, windows pid 116, Win32

Re: sshd forks and fails

2005-07-27 Thread Jason Tishler
On Wed, Jul 27, 2005 at 10:35:48AM -0400, Larry Hall wrote: > from a DOS box/cmd.exe prompt, run "C:\cygwin\bin\rebaseall", AFAICT, the above will not work: C:\>C:\cygwin\bin\rebaseall 'C:\cygwin\bin\rebaseall' is not recognized as an internal or external command, operable program or bat

Re: sshd broken on reboot

2004-11-28 Thread Larry Hall
At 11:57 AM 11/28/2004, you wrote: >Cygwin: > >My O/S is WinXP Pro SP2 and my Cygwin is current as of last night. I >would like to start using sshd. I located and read: > >http://pigtail.net/LRP/printsrv/cygwin-sshd.html > > >I installed sshd per steps 3-6. sshd

RE: sshd broken on reboot

2004-11-28 Thread David Christensen
Larry Hall wrote: > Uninstall and reinstall the 'openssh' package and then follow the > configuration instructions in '/usr/share/doc/Cygwin/openssh.README'. Same result. David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problem

RE: sshd broken on reboot

2004-11-28 Thread Larry Hall
At 10:38 PM 11/28/2004, you wrote: >Larry Hall wrote: >> Uninstall and reinstall the 'openssh' package and then follow the >> configuration instructions in '/usr/share/doc/Cygwin/openssh.README'. > > >Same result. OK, so now you want to run your server in debug mode, try to connect, and check th

RE: sshd broken on reboot

2004-11-29 Thread David Christensen
Larry Hall wrote: > so now you want to run your server in debug mode, It works in debug mode. Please see attached console sessions. Note the lines "Server will not fork when running in debugging mode" and "3 [main] sshd 1044 fork_copy: linked dll data/bss pass 0 failed,

RE: sshd broken on reboot

2004-11-29 Thread Larry Hall
At 08:23 PM 11/29/2004, you wrote: >Larry Hall wrote: >> so now you want to run your server in debug mode, > >It works in debug mode. > > >Please see attached console sessions. Note the lines "Server will not >fork when running in debugging mode" and "

RE: sshd broken on reboot

2004-11-29 Thread David Christensen
Larry Hall wrote: > Ah, so this is the classic rebase problem. ... > [install] the 'rebase' package ... run 'rebaseall'... That fixed it! Thank you very much. :-) David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html D

Re: sshd broken on reboot

2004-11-30 Thread Jason Tishler
On Mon, Nov 29, 2004 at 08:28:30PM -0800, David Christensen wrote: > Larry Hall wrote: > > Ah, so this is the classic rebase problem. ... > > [install] the 'rebase' package ... run 'rebaseall'... > > That fixed it! Thank you very much. :-) This is the

Re: sshd broken on reboot

2004-11-30 Thread Rob S.i.k.l.o.s
- Original Message - Sent: Sunday, November 28, 2004 3:00 PM Subject: Re: sshd broken on reboot At 11:57 AM 11/28/2004, you wrote: Cygwin: My O/S is WinXP Pro SP2 and my Cygwin is current as of last night. I would like to start using sshd. I located and read: http://pigtail.net/LRP

sshd in Windows 2003 server

2004-12-02 Thread daniel
Hi, I've installed sshd succesfully a couple of time on WinXP machines following the instructions at http://pigtail.net/LRP/printsrv/cygwin-sshd.html. However, I didn' manage on a Windows 2003 server. I always get "1053 did not start in a timely fashion" immediately

sshd service wont accept password

2004-12-08 Thread Bernhard Ege
Well, I am at a loss. My sshd service will not accept my password. However, starting sshd like this: /usr/sbin/sshd & and then quitting the bash shell (optional) makes sshd work just fine, accepting my password as it should. To fix the service I have tried uninstalling openssh and removin

RE: openssh sshd slow logins

2005-01-03 Thread Dave Wang
--- hi, i'm having a problem where my cygwin openssh sshd logins are slow. i am using rsa key autologins. only a certain portion of the login is slow. when i do a "ssh -x @" from my linux box, the authentication is immediately successful (the motd prints out imme

sshd error log and sshd_config

2005-02-28 Thread Colin JN Breame
Hi, I've been having a few problems with sshd on win2k3. I'm not using privilege separation and it's running as the local system account (as I don't need key authentication). It runs but doesn't appear to listen. So, I decided to check to see what the log files s

Re: problems starting sshd - again

2005-03-24 Thread Brian Dessent
my XP system died and I have had to re-install windoze. So as > this was a fresh install I obtained a later version (1.5.12) of cygwin > than the year or so old version I had. I had sshd working with the older > version of cygwin but I do not want to regress that version. The new > versio

RE: problems starting sshd - again

2005-03-24 Thread Mike Kenny - BCX - Professional Services JHB
s my issue. > > Anyway, my XP system died and I have had to re-install windoze. So as > > this was a fresh install I obtained a later version (1.5.12) of cygwin > > than the year or so old version I had. I had sshd working with the older > > version of cygwin but I do not

cannot connect to local sshd

2005-03-29 Thread Hunter Peress
after installing cygwin, 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 win2k Path var. so i do this: **$

Re: sshd not properly working

2005-04-02 Thread Corinna Vinschen
On Apr 2 11:07, giuseppe wrote: > I have win XP SP2 on my WM and I installed the latest version of cygwin. > later I tryed to get the ssh daemon working following instructions from: > http://pigtail.net/LRP/printsrv/cygwin-sshd.html http://cygwin.com/ml/cygwin/2005-03/msg00712.html http://cygwin.

Re: sshd not properly working

2005-04-02 Thread giuseppe
/cygwin-sshd.html > > http://cygwin.com/ml/cygwin/2005-03/msg00712.html > http://cygwin.com/ml/cygwin/2005-03/msg01060.html > > Corinna > Dear Corinna, Thank you very much for your reply! I'm very sorry but I was not able to find online the official cygwin documentation

Re: sshd not properly working

2005-04-03 Thread Gerrit P. Haase
Hi giuseppe, as a result I get the client ssh work properly but if i try from a linux machine (LM in the following) i get $ ssh -l username name_WM ssh: connect to host name_WM port 22: Connection timed out Firewall activated? Gerrit -- =^..^= Action Soccer: http://www.action-soccer.de/?lv=de&id

Re: sshd not properly working

2005-04-04 Thread giuseppe
Hi Gerrit, thanks for your answer, so you notice: > > > as a result I get the client ssh work properly but if i try from a > > linux machine (LM in the following) i get > > $ ssh -l username name_WM > > ssh: connect to host name_WM port 22: Connection timed out > > > Firewall activated? well

sshd failure (openssh 4.0p1-1)

2005-04-18 Thread somian-cyg
Dear Maintainers / All, SYNOPSIS: The Cygwin sshd seems to have developed an aversion to, uh, working, with the latest release, 4.0p1-1. Previous to a recent update via setup.exe, it was working fine. I can still connect the client to any remote host. SYSTEM INFO

sshd and /usr/bin/zsh

2005-04-28 Thread Brad King
Hello, I just upgraded cygwin and now I cannot login to the machine via ssh unless I change /etc/passwd to use /bin/bash for my shell. If I use /usr/bin/zsh then the login appears successful but no prompt ever shows up. If I look at the set of processes I see a zsh that is doing nothing. I t

Re: sshd is too slow

2008-09-18 Thread Tom Schutter
on channel 0 > Last login: Wed Sep 17 16:16:07 2008 from th143127.ip.tsinghua.edu.cn > //here costs me nearly 3 seconds. > [EMAIL PROTECTED]:~$ > > > why is my sshd too slow? Try adding this line to /etc/sshd_config: UseDNS no Does that help? -- Tom Schutter First American -

sshd can not be stopped

2008-12-13 Thread Matthias Meyer
Hi, I've installed a sshd service by: cygrunsrv -I sshd -t auto -y tcpip -O -p /bin/sshd and it work. But I can not stopp the service. cygrunsrv -E sshd seems to work but sshd stay in the Windows process list (Task Manager). In adition I can not start the service again. If I kill the sshd pr

Re: sshd w/o admin?

2009-02-18 Thread Larry Hall (Cygwin)
Aaron Davies wrote: is it possible to get sshd working w/o admin privs? Running 'ssh-host-config' requires adminstrative privileges to create users to run 'sshd' as a service (for W2K3 and later) and for privilege separation. If you don't want/need these, then you ca

Re: sshd w/o admin?

2009-02-18 Thread Aaron Davies
On Thu, Feb 19, 2009 at 12:33 AM, Larry Hall (Cygwin) wrote: > Aaron Davies wrote: > > > > is it possible to get sshd working w/o admin privs? > > Running 'ssh-host-config' requires adminstrative privileges to create > users to run 'sshd' as a se

Re: sshd w/o admin?

2009-02-18 Thread Larry Hall (Cygwin)
Aaron Davies wrote: On Thu, Feb 19, 2009 at 12:33 AM, Larry Hall (Cygwin) wrote: ^^ <http://cygwin.com/acronyms/#PCYMTNQREAIYR> Thanks! Aaron Davies wrote: is it possible to get sshd working w/o admin privs? Running 'ssh-host-config' requires adminstrative priv

Re: sshd w/o admin?

2009-02-18 Thread Aaron Davies
it manually for now. >>> Aaron Davies wrote: >>>> >>>> is it possible to get sshd working w/o admin privs? >>> >>> Running 'ssh-host-config' requires adminstrative privileges to create >>> users to run 'sshd' as a s

Re: sshd w/o admin?

2009-02-18 Thread Larry Hall (Cygwin)
then quits with "Connection to localhost closed." % ssh localhost adav...@localhost's password: Last login: Thu Feb 19 10:41:39 2009 from localhost Connection to localhost closed. The same setreuid error is left in the event log Why exactly does it need to setreuid to me when it

Re: sshd w/o admin?

2009-02-19 Thread Corinna Vinschen
host's password: > Last login: Thu Feb 19 10:41:39 2009 from localhost > Connection to localhost closed. > > The same setreuid error is left in the event log > > Why exactly does it need to setreuid to me when it's already me? This > sshd process is started by and runn

sshd and windows server 2003

2009-03-27 Thread Jason Pyeron
Using cygwin 1.7 and the ideas from: http://www.cygwin.com/ml/cygwin/2008-11/msg00163.html I get: $ ssh localhost r...@localhost's password: Last login: Fri Mar 27 20:00:32 2009 from 127.0.0.1 /bin/bash: Permission denied Connection to localhost closed. The user is domain\root Other Google

Re: [1.7] sshd dc problem

2009-06-23 Thread Corinna Vinschen
On Jun 22 17:48, Reini Urban wrote: > Starting the laptop at home, without PDC connection works. I can properly > login. > But ssh to this box fails with -1 = initgroups (URBANR, 10513) > This is without cyglsa > > $ /usr/sbin/sshd -d -D > 25 592959 [main] sshd 5208 fhan

Re: [1.7] sshd dc problem

2009-06-24 Thread Reini Urban
) call failed >> error 2221: UserGetLocalGroups failed >> >> I should be able to login with pubkey to my box with sshd when windows >> lets me in also. > > That's easier said than done. > > Apparently your laptop is configured to allow using cached credentials >

Re: [1.7] sshd dc problem

2009-06-24 Thread Corinna Vinschen
On Jun 24 10:45, Reini Urban wrote: > 2009/6/23 Corinna Vinschen: > > On Jun 22 17:48, Reini Urban wrote: > >> I should be able to login with pubkey to my box with sshd when windows > >> lets me in also. > > > > That's easier said than done. > >

Re: net start sshd problem

2009-06-26 Thread Christopher Faylor
ault /etc/sshd_config file >*** Info: Privilege separation is set to yes by default since OpenSSH 3.3. >*** Info: However, this requires a non-privileged account called 'sshd'. >*** Info: For more info on privilege separation read >/usr/share/doc/openssh/READ >ME.privsep.

RE: net start sshd problem

2009-06-26 Thread David Christensen
Gordon Fogus wrote: > gsfo...@gsfogus ~ > $ net start sshd > System error 2 has occurred. > The system cannot find the file specified. Are there any clues in /var/log/sshd.log? HTH, David -- Problem reports: http://cygwin.com/problems.html FAQ: http://cy

Re: net start sshd problem

2009-06-26 Thread Gordon Fogus
/var/log/sshd.log does not exist. --- gsfo...@gsfogus /var/log $ ls -a . apache exim messages setup.log.full wtmp .. apache2 lastlog setup.log squid --- On Fri, Jun 26, 2009 at 9:47 AM, David Christensen wrote: > Gordon Fogus wrote: >> gsfo...@gsfogus ~ >> $

Re: net start sshd problem

2009-06-26 Thread Christopher Faylor
On Fri, Jun 26, 2009 at 10:17:57AM -0700, Gordon Fogus wrote: >/var/log/sshd.log does not exist. How about the event log? cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe inf

Re: net start sshd problem

2009-06-26 Thread Christopher Faylor
On Fri, Jun 26, 2009 at 01:21:41PM -0400, Christopher Faylor wrote: >On Fri, Jun 26, 2009 at 10:17:57AM -0700, Gordon Fogus wrote: >>/var/log/sshd.log does not exist. > >How about the event log? And, also: VVV -- Problem reports: http://cyg

Re: problem installing cygwin+sshd

2007-02-17 Thread Thorsten Kampe
* Michael Manzenreither (Sat, 17 Feb 2007 10:34:47 +0100) > [cannot start sshd as a service] > any ideas - what did I do wrong? Check the permissions from /var/log - sshd /has/ to log there. As a last chance I would try to run sshd manually: "sshd -D -ddd" and "stra

Re: problem installing cygwin+sshd

2007-02-18 Thread Thorsten Kampe
Thorsten > Michael > > [cannot start sshd as a service] > > any ideas - what did I do wrong? > > Check the permissions from /var/log - sshd /has/ to log there. As a last > chance I would try to run sshd manually: "sshd -D -ddd" --cut-- $ /usr/sbin/sshd -D -ddd de

Re: problem installing cygwin+sshd

2007-02-18 Thread Thorsten Kampe
Please refrain from sending me private mail... > Thorsten > > Michael > > > [cannot start sshd as a service] > > > any ideas - what did I do wrong? > > > > Check the permissions from /var/log - sshd /has/ to log there. As a last > > chance I

Re: problem installing cygwin+sshd

2007-02-18 Thread Michael
Thorston: Please refrain from sending me private mail... Sorry, I didn't want to offend you! - when answering, I deleted the To: value by mistake and reenterd obviously the wrong address ... > Thorsten > > Michael > > > [cannot start sshd as a service] > > >

Re: problem installing cygwin+sshd

2007-02-18 Thread Thorsten Kampe
u just sent your email to an unappropriate address... > > > /var/empty must be owned by root and not group or world-writable. > > > --cut-- > > > $ ssh localhost > > > ssh: connect to host localhost port 22: Connection refused > > > --cut-- >

Re: problem installing cygwin+sshd

2007-02-18 Thread Michael
Thorsten: > > > /var/empty must be owned by root and not group or world-writable. > > > --cut-- > > > $ ssh localhost > > > ssh: connect to host localhost port 22: Connection refused > > > --cut-- > > > > > > > and "strace /

Re: problem installing cygwin+sshd

2007-02-18 Thread Daniel P. Kionka
Michael wrote: ... > $ /usr/sbin/sshd -D -ddd ... > /var/empty must be owned by root and not group or world-writable. ... Nowhere. "/var/empty must be owned by root and not group or world- writable" - that's pretty clear, isn't it?! I've already recognized t

Re: problem installing cygwin+sshd

2007-02-18 Thread Thorsten Kampe
ion refused > > > > > --cut-- > > > > > > > > > > > and "strace /usr/sbin/sshd -D" > > > > > > > > > > see attached file. > > > > > > > > > > where do I have to look at in the trace-

Re: problem installing cygwin+sshd

2007-02-18 Thread Michael
... >> > $ /usr/sbin/sshd -D -ddd ... >> > /var/empty must be owned by root and not group or world-writable. ... > > I've already recognized this message, but as I wanted to chown to > root, I was told that there's no "root"-user in the system..

Re: problem installing cygwin+sshd

2007-02-18 Thread Thorsten Kampe
s I wanted to chown to > > > root, I was told that there's no "root"-user in the system... > > > > > > Now I "chown"ed to myself:root and now it works -> sshd is up for one > > > connection ("ssh localhost") and ends when closing t

Re: problem installing cygwin+sshd

2007-02-18 Thread Michael
s told that there's no "root"-user in the system... > > > > > > Now I "chown"ed to myself:root and now it works -> sshd is up for one > > > connection ("ssh localhost") and ends when closing the connection. > > > > >

Re: problem installing cygwin+sshd

2007-02-18 Thread Thorsten Kampe
* Michael (Sun, 18 Feb 2007 20:19:06 +0100) > $ ls -dl /var/empty > drwxr-xr-x+ 2 SYSTEM Administrators 0 Feb 18 20:06 /var/empty > => done :-) > > > Try to get rid of the ACEs that cause the "+" sign at the end of the ls > listing.[...] > > but I don't know how to get rid of the "+". What is thi

Re: problem installing cygwin+sshd

2007-02-18 Thread René Berber
? It's not important, here's how my /var/empty looks (with sshd working fine): $ ll /var ... drwxr-xr-x+ 2 SYSTEM None 0 May 20 2004 empty/ It should be clear by now that you messed something pretty bad, and we haven't found what it was from your reports, why don't you start

Re: problem installing cygwin+sshd

2007-02-18 Thread Larry Hall (Cygwin)
On 02/18/2007, Michael wrote: > Try to get rid of the ACEs that cause the "+" sign at the end of the ls listing.[...] but I don't know how to get rid of the "+". What is this "+" (???) called, so I can search for it and find out what to do? Use 'getfacl' and 'setfacl'. This will manipulate

Re: problem installing cygwin+sshd

2007-02-18 Thread Michael Manzenreither
? It's not important, here's how my /var/empty looks (with sshd working fine): $ ll /var ... drwxr-xr-x+ 2 SYSTEM None 0 May 20 2004 empty/ It should be clear by now that you messed something pretty bad, and we haven't found what it was from your reports, why don't you start

Re: problem installing cygwin+sshd

2007-02-18 Thread Michael
? It's not important, here's how my /var/empty looks (with sshd working fine): $ ll /var ... drwxr-xr-x+ 2 SYSTEM None 0 May 20 2004 empty/ It should be clear by now that you messed something pretty bad, and we haven't found what it was from your reports, why don't you start

Re: problem installing cygwin+sshd

2007-02-18 Thread René Berber
Michael Manzenreither wrote: > ok - here listed what I did (sorry for the long listing): > ---cut--- > 01. $ cygrunsrv -R sshd > 02. remove registry-keys: HK(CU|LM)->SOFTWARE->Cygnus Solutions > 03. remove windows/user sshd > 04. rename c:\cygwin to c:\cygwin_1 > 05

Re: problem installing cygwin+sshd

2007-02-18 Thread Michael
> ok - here listed what I did (sorry for the long listing): > ---cut--- > 01. $ cygrunsrv -R sshd > 02. remove registry-keys: HK(CU|LM)->SOFTWARE->Cygnus Solutions > 03. remove windows/user sshd > 04. rename c:\cygwin to c:\cygwin_1 > 05. run http://www.cygwin.com

Re: problem installing cygwin+sshd

2007-02-18 Thread Larry Hall (Cygwin)
Michael wrote: > ok - here listed what I did (sorry for the long listing): > ---cut--- > 01. $ cygrunsrv -R sshd > 02. remove registry-keys: HK(CU|LM)->SOFTWARE->Cygnus Solutions > 03. remove windows/user sshd > 04. rename c:\cygwin to c:\cygwin_1 > 05. run http://ww

Re: problem installing cygwin+sshd

2007-02-18 Thread René Berber
orks when sshd is started manually but not as a service. -- René Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: problem installing cygwin+sshd

2007-02-18 Thread Larry Hall (Cygwin)
. It works when sshd is started manually but not as a service. Has Michael tried running a debug version with a SYSTEM-owned shell to see why running as SYSTEM is unhappy? My WAG is that he still has a file out there that doesn't have the proper permissions for SYSTEM. It would be helpf

Re: problem installing cygwin+sshd

2007-02-18 Thread René Berber
f these steps on another? >> >> It did not result in a working install, that is his point. It works >> when sshd >> is started manually but not as a service. > > Has Michael tried running a debug version with a SYSTEM-owned shell to see > why running as SYSTEM is u

sshd + bash = crush on CRs

2007-02-19 Thread Pavel Ivanoff
Hi, all! After updating bash to newest version on my server I've met problems with CR on my scripts. I've solved them with setting system variable SHELLOPTS to 'igncr'. And now they work fine when I login to the server via Terminal Services. But when I login to the server vi

Re: problem installing cygwin+sshd

2007-02-20 Thread Chuck
Michael wrote: > Hello, > > I'm trying to install cygwin+sshd on a WinXPPro-machine, but get an > error, when starting the service. > It would be great, if someone is able to help me find a hint for a > solution for this problem! > > Here a summary what I did: > -

<    1   2   3   4   5   6   7   8   9   10   >