* Help me please install OpenSSH Server on Windows Vista
@ 2009-01-12 13:12 Alexey Eremenko
2009-01-12 16:17 ` Alexey Eremenko
0 siblings, 1 reply; 13+ messages in thread
From: Alexey Eremenko @ 2009-01-12 13:12 UTC (permalink / raw)
To: cygwin
Hi All !
I have installed Cygwin on Vista -- but was unable to install SSH server on it.
ssh-host-config returns an error no matter what I do. Diabling UAC doesn't help.
--
-Alexey Eromenko "Technologov"
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-12 13:12 Help me please install OpenSSH Server on Windows Vista Alexey Eremenko
@ 2009-01-12 16:17 ` Alexey Eremenko
2009-01-12 17:22 ` Larry Hall (Cygwin)
0 siblings, 1 reply; 13+ messages in thread
From: Alexey Eremenko @ 2009-01-12 16:17 UTC (permalink / raw)
To: cygwin
On Mon, Jan 12, 2009 at 4:47 AM, Alexey Eremenko <al4321@gmail.com> wrote:
> Hi All !
>
> I have installed Cygwin on Vista -- but was unable to install SSH server on it.
>
> ssh-host-config returns an error no matter what I do. Diabling UAC doesn't help.
>
Here is what I get when I try to setup SSH on Vista:
$ ssh-host-config
chmod: changing permissions of `/etc': Permission denied
setfacl: Permission denied
chmod: changing permissions of `/var/log': Permission denied
setfacl: Permission denied
*** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes
*** Info: Creating default /etc/ssh_config file
*** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
*** Info: Creating default /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/RE
ME.privsep.
*** Query: Should privilege separation be used? (yes/no) ye
*** Query: Should privilege separation be used? (yes/no) yes
*** Warning: The file /etc/passwd is not readable by all.
*** Warning: Please run 'chmod +r /etc/passwd'.
*** Warning: The file /etc/group is not readable by all.
*** Warning: Please run 'chmod +r /etc/group'.
*** ERROR: Problem with LocalSystem or Adminstrator IDs
--
-Alexey Eromenko "Technologov"
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-12 16:17 ` Alexey Eremenko
@ 2009-01-12 17:22 ` Larry Hall (Cygwin)
2009-01-13 16:11 ` Alexey Eremenko
0 siblings, 1 reply; 13+ messages in thread
From: Larry Hall (Cygwin) @ 2009-01-12 17:22 UTC (permalink / raw)
To: cygwin
Alexey Eremenko wrote:
> On Mon, Jan 12, 2009 at 4:47 AM, Alexey Eremenko <al4321@gmail.com> wrote:
>> Hi All !
>>
>> I have installed Cygwin on Vista -- but was unable to install SSH server on it.
>>
>> ssh-host-config returns an error no matter what I do. Diabling UAC doesn't help.
>>
>
> Here is what I get when I try to setup SSH on Vista:
>
> $ ssh-host-config
> chmod: changing permissions of `/etc': Permission denied
> setfacl: Permission denied
> chmod: changing permissions of `/var/log': Permission denied
> setfacl: Permission denied
Are you running with elevated Administrator permissions?
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-12 17:22 ` Larry Hall (Cygwin)
@ 2009-01-13 16:11 ` Alexey Eremenko
2009-01-13 22:04 ` Larry Hall (Cygwin)
0 siblings, 1 reply; 13+ messages in thread
From: Alexey Eremenko @ 2009-01-13 16:11 UTC (permalink / raw)
To: cygwin
On Mon, Jan 12, 2009 at 4:32 PM, Larry Hall (Cygwin)
<reply-to-list-only-lh@cygwin.com> wrote:
> Alexey Eremenko wrote:
>>
>> On Mon, Jan 12, 2009 at 4:47 AM, Alexey Eremenko <al4321@gmail.com> wrote:
>>>
>>> Hi All !
>>>
>>> I have installed Cygwin on Vista -- but was unable to install SSH server
>>> on it.
>>>
>>> ssh-host-config returns an error no matter what I do. Diabling UAC
>>> doesn't help.
>>>
>>
>> Here is what I get when I try to setup SSH on Vista:
>>
>> $ ssh-host-config
>> chmod: changing permissions of `/etc': Permission denied
>> setfacl: Permission denied
>> chmod: changing permissions of `/var/log': Permission denied
>> setfacl: Permission denied
>
> Are you running with elevated Administrator permissions?
Yes, I tried running that with:-- right click->run as
administrator->cygwin bash shell
If this is what you mean by "elevated Administrator permissions"... or
something else?
It does not help.
--
-Alexey Eromenko "Technologov"
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-13 16:11 ` Alexey Eremenko
@ 2009-01-13 22:04 ` Larry Hall (Cygwin)
2009-01-14 13:12 ` Alexey Eremenko
0 siblings, 1 reply; 13+ messages in thread
From: Larry Hall (Cygwin) @ 2009-01-13 22:04 UTC (permalink / raw)
To: cygwin
Alexey Eremenko wrote:
> On Mon, Jan 12, 2009 at 4:32 PM, Larry Hall (Cygwin)
> <reply-to-list-only-lh@cygwin.com> wrote:
>> Alexey Eremenko wrote:
>>> On Mon, Jan 12, 2009 at 4:47 AM, Alexey Eremenko <al4321@gmail.com> wrote:
>>>> Hi All !
>>>>
>>>> I have installed Cygwin on Vista -- but was unable to install SSH server
>>>> on it.
>>>>
>>>> ssh-host-config returns an error no matter what I do. Diabling UAC
>>>> doesn't help.
>>>>
>>> Here is what I get when I try to setup SSH on Vista:
>>>
>>> $ ssh-host-config
>>> chmod: changing permissions of `/etc': Permission denied
>>> setfacl: Permission denied
>>> chmod: changing permissions of `/var/log': Permission denied
>>> setfacl: Permission denied
>> Are you running with elevated Administrator permissions?
>
> Yes, I tried running that with:-- right click->run as
> administrator->cygwin bash shell
>
> If this is what you mean by "elevated Administrator permissions"... or
> something else?
> It does not help.
>
Seeing the output (*attached*) from 'cygcheck -s -r -v' as requested by
<http://cygwin.com/problems.html> would help. What does 'ls -ld /etc'
say? What does 'getfacl /etc' say? What about 'cacls c:\cygwin\etc'?
In other words, who has permissions to change '/etc' and who's it's
owner? Sounds like you need to rejigger ownerships/permissions to make
this work. Perhaps try that based on the output of the above.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-13 22:04 ` Larry Hall (Cygwin)
@ 2009-01-14 13:12 ` Alexey Eremenko
2009-01-14 20:59 ` Larry Hall (Cygwin)
0 siblings, 1 reply; 13+ messages in thread
From: Alexey Eremenko @ 2009-01-14 13:12 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
> Seeing the output (*attached*) from 'cygcheck -s -r -v' as requested by
> <http://cygwin.com/problems.html> would help. What does 'ls -ld /etc'
> say? What does 'getfacl /etc' say? What about 'cacls c:\cygwin\etc'?
>
> In other words, who has permissions to change '/etc' and who's it's
> owner? Sounds like you need to rejigger ownerships/permissions to make
> this work. Perhaps try that based on the output of the above.
I have attached output in text-files.
--
-Alexey Eromenko "Technologov"
[-- Attachment #2: other.txt --]
[-- Type: text/plain, Size: 534 bytes --]
user@user-PC ~
$ ls -ld /stc
ls: cannot access /stc: No such file or directory
user@user-PC ~
$ ls -ld /etc
dr-xr-x---+ 10 user Users 4096 Jan 14 10:21 /etc
user@user-PC ~
$ getfacl /etc
# file: /etc
# owner: user
# group: Users
user::---
group::r-x
group:root:rwx
group:SYSTEM:rwx
mask:rwx
other:---
default:group:root:rwx
default:group:SYSTEM:rwx
default:group:Users:r-x
default:mask:rwx
user@user-PC ~
$ cacls c:\cygwin\etc
The system cannot find the file specified.
user@user-PC ~
$ whoami
user
[-- Attachment #3: cygcheck-s-v-r.txt --]
[-- Type: text/plain, Size: 10166 bytes --]
Cygwin Configuration Diagnostics
Current System Time: Wed Jan 14 11:16:23 2009
Windows Longhorn/Vista (not yet supported!) Ver 6.0 Build 6000
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Windows\system32
c:\Windows
c:\Windows\System32\Wbem
SysDir: C:\Windows\system32
WinDir: C:\Windows
USER = 'user'
PWD = '/home/user'
HOME = '/home/user'
MAKE_MODE = 'unix'
HOMEPATH = '\Users\user'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Users\user\AppData\Roaming'
HOSTNAME = 'user-PC'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 2 Stepping 3, GenuineIntel'
WINDIR = 'C:\Windows'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/etc/skel'
PROGRAMDATA = 'C:\ProgramData'
USERDOMAIN = 'user-PC'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
TEMP = '/cygdrive/c/Users/user/AppData/Local/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'user'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Users\user'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\USER-PC'
PROCESSOR_ARCHITECTURE = 'x86'
LOCALAPPDATA = 'C:\Users\user\AppData\Local'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\Windows\system32\cmd.exe'
TMP = '/cygdrive/c/Users/user/AppData/Local/Temp'
SYSTEMROOT = 'C:\Windows'
PRINTER = 'Microsoft XPS Document Writer'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0203'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '1'
COMPUTERNAME = 'USER-PC'
_ = '/usr/bin/cygcheck'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = '/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = 'C:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = 'C:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = 'C:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd FAT 1Mb 1% CP UN
c: hd NTFS 20477Mb 46% CP CS UN PA FC
d: cd CDFS 20Mb 100% CS UN cygwin
C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\crontab.exe
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Not Found: perl
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim
61k 2008/04/01 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2008/3/31 20:37
7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
"cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57
1057k 2008/06/09 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.8.dll" v0.0 ts=2008/6/9 9:33
40k 2006/11/15 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
"cygform-8.dll" v0.0 ts=2006/11/14 23:06
48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
"cygform7.dll" v0.0 ts=2003/8/9 2:25
25k 2008/01/04 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
"cyghistory6.dll" v0.0 ts=2008/1/3 19:31
271k 2007/08/24 C:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0
"cygicons-0.dll" v0.0 ts=2007/8/24 0:24
976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2006/10/22 16:44
37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2003/8/10 14:50
31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
"cygintl-3.dll" v0.0 ts=2005/11/19 18:04
31k 2006/10/23 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
"cygintl-8.dll" v0.0 ts=2006/10/22 17:12
21k 2006/11/15 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
"cygmenu-8.dll" v0.0 ts=2006/11/14 23:05
29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
"cygmenu7.dll" v0.0 ts=2003/8/9 2:25
20k 2006/12/21 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.1 sys=4.0
"cygminires.dll" v0.0 ts=2006/12/20 21:07
67k 2006/11/15 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++-8.dll" v0.0 ts=2006/11/14 23:13
237k 2006/11/15 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
"cygncurses-8.dll" v0.0 ts=2006/11/14 23:02
224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
"cygncurses7.dll" v0.0 ts=2003/8/9 2:24
12k 2006/11/15 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
"cygpanel-8.dll" v0.0 ts=2006/11/14 23:04
19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
"cygpanel7.dll" v0.0 ts=2003/8/9 2:24
151k 2008/07/08 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcre-0.dll" v0.0 ts=2008/7/8 12:30
303k 2008/07/08 C:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcrecpp-0.dll" v0.0 ts=2008/7/8 12:30
7k 2008/07/08 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix-0.dll" v0.0 ts=2008/7/8 12:30
22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/8 22:45
155k 2008/01/04 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
"cygreadline6.dll" v0.0 ts=2008/1/3 19:31
219k 2008/06/09 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.8.dll" v0.0 ts=2008/6/9 9:33
22k 2008/02/24 C:\cygwin\bin\cygwrap-0.dll - os=4.0 img=1.0 sys=4.0
"cygwrap-0.dll" v0.0 ts=2008/2/22 23:03
65k 2006/10/16 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2006/10/15 18:10
1829k 2008/06/12 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2008/6/12 10:35
Cygwin DLL version info:
DLL version: 1.5.25
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 156
Shared data: 4
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Thu Jun 12 19:34:46 CEST 2008
CVS tag: cr-0x5f1
Shared id: cygwin1S4
Can't find the cygrunsrv utility, skipping services check.
Cygwin Package Information
Last downloaded files to: D:\install
Last downloaded files from: D:\install
Package Version
_update-info-dir 00744-1
alternatives 1.3.30c-2
ash 20040127-3
base-files 3.7-1
base-passwd 2.2-1
bash 3.2.39-19
bash-completion 20060301-2
bzip2 1.0.5-2
coreutils 6.10-1
cron 4.1-6
crypt 1.1-1
csih 0.1.5-1
cygrunsrv 1.34-1
cygutils 1.3.2-1
cygwin 1.5.25-15
cygwin-doc 1.4-4
diffutils 2.8.7-1
editrights 1.01-2
findutils 4.4.0-1
gawk 3.1.6-1
gcc-testsuite 3.4.4-3
grep 2.5.1a-4
groff 1.18.1-2
gzip 1.3.12-2
less 382-1
libbz2_1 1.0.5-2
libiconv2 1.11-1
libintl2 0.12.1-3
libintl3 0.14.5-1
libintl8 0.15-1
libncurses7 5.3-4
libncurses8 5.5-3
libpcre0 7.7-2
libpopt0 1.6.4-4
libreadline6 5.2.12-10
libwrap0 7.6-4
login 1.9-8
man 1.6e-1
minires 1.01-1
ncftp 3.2.1-1
netcat 1.10-2
nfs-server 2.3-5
openssh 5.1p1-3
openssl 0.9.8h-1
ping 1.0-1
proftpd 1.2.10-1
run 1.1.10-1
sed 4.1.5-2
shutdown 1.7-1
sunrpc 4.0-3
syslog-ng 2.0.7.1-1
tar 1.20-1
tcp_wrappers 7.6-4
termcap 20050421-1
terminfo 5.5_20061104-1
texinfo 4.8a-1
tzcode 2008a-1
which 2.19-1
whois 4.7.24-1
zip 2.32-2
zlib 1.2.3-2
zsync 0.5-1
Use -h to see help about each section
[-- Attachment #4: Type: text/plain, Size: 218 bytes --]
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-14 13:12 ` Alexey Eremenko
@ 2009-01-14 20:59 ` Larry Hall (Cygwin)
2009-01-18 18:44 ` Alexey Eremenko
0 siblings, 1 reply; 13+ messages in thread
From: Larry Hall (Cygwin) @ 2009-01-14 20:59 UTC (permalink / raw)
To: cygwin
Alexey Eremenko wrote:
>> Seeing the output (*attached*) from 'cygcheck -s -r -v' as requested by
>> <http://cygwin.com/problems.html> would help. What does 'ls -ld /etc'
>> say? What does 'getfacl /etc' say? What about 'cacls c:\cygwin\etc'?
>>
>> In other words, who has permissions to change '/etc' and who's it's
>> owner? Sounds like you need to rejigger ownerships/permissions to make
>> this work. Perhaps try that based on the output of the above.
>
> I have attached output in text-files.
You've "sanitized" your cygcheck output so that I can't see what groups
"user" belongs to. According to your 'ls'/'getfacl' output, "user" is
the owner of '/etc' (and I assume '/var/log'). Try 'chmod 755 /etc'
from the command line instead.
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-14 20:59 ` Larry Hall (Cygwin)
@ 2009-01-18 18:44 ` Alexey Eremenko
2009-01-18 19:12 ` Dmitry Semyonov
0 siblings, 1 reply; 13+ messages in thread
From: Alexey Eremenko @ 2009-01-18 18:44 UTC (permalink / raw)
To: cygwin
On Wed, Jan 14, 2009 at 10:29 AM, Larry Hall (Cygwin)
<reply-to-list-only-lh@cygwin.com> wrote:
> Alexey Eremenko wrote:
>>>
>>> Seeing the output (*attached*) from 'cygcheck -s -r -v' as requested by
>>> <http://cygwin.com/problems.html> would help. What does 'ls -ld /etc'
>>> say? What does 'getfacl /etc' say? What about 'cacls c:\cygwin\etc'?
>>>
>>> In other words, who has permissions to change '/etc' and who's it's
>>> owner? Sounds like you need to rejigger ownerships/permissions to make
>>> this work. Perhaps try that based on the output of the above.
>>
>> I have attached output in text-files.
>
> You've "sanitized" your cygcheck output so that I can't see what groups
> "user" belongs to. According to your 'ls'/'getfacl' output, "user" is
> the owner of '/etc' (and I assume '/var/log'). Try 'chmod 755 /etc'
> from the command line instead.
ok I did:
chmod -Rvf 0777 /etc /var
then:
ssh-host-config completed successfully (at last !)
I did:
$ cygrunsrv -S sshd
and I hope SSH service started but have no idea if it really started...
On the same machine I opened cmd.exe and did:
C:\cygwin\bin>ssh cyg_server@localhost
ssh_exchange_identification: Connection closed by remote host
C:\cygwin\bin>ssh localhost
ssh_exchange_identification: Connection closed by remote host
It still does not work. What else info I can provide?
--
-Alexey Eromenko "Technologov"
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-18 18:44 ` Alexey Eremenko
@ 2009-01-18 19:12 ` Dmitry Semyonov
2009-01-19 15:29 ` Alexey Eremenko
0 siblings, 1 reply; 13+ messages in thread
From: Dmitry Semyonov @ 2009-01-18 19:12 UTC (permalink / raw)
To: cygwin
On Sun, Jan 18, 2009 at 16:12, Alexey Eremenko wrote:
> $ cygrunsrv -S sshd
> and I hope SSH service started but have no idea if it really started...
cygrunsrv -Q sshd
> C:\cygwin\bin>ssh localhost
> ssh_exchange_identification: Connection closed by remote host
>
> It still does not work. What else info I can provide?
man ssh:
-v Verbose mode. Causes ssh to print debugging messages about
its progress. This is helpful in debugging connection,
authentication, and configuration problems. Multiple -v options
increase the verbosity. The maximum is 3.
--
...Bye..Dmitry.
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-18 19:12 ` Dmitry Semyonov
@ 2009-01-19 15:29 ` Alexey Eremenko
2009-01-20 9:43 ` Larry Hall (Cygwin)
0 siblings, 1 reply; 13+ messages in thread
From: Alexey Eremenko @ 2009-01-19 15:29 UTC (permalink / raw)
To: cygwin
On Sun, Jan 18, 2009 at 6:03 AM, Dmitry Semyonov <linulin@gmail.com> wrote:
> On Sun, Jan 18, 2009 at 16:12, Alexey Eremenko wrote:
>> $ cygrunsrv -S sshd
>> and I hope SSH service started but have no idea if it really started...
>
> cygrunsrv -Q sshd
>
>
Thanks Dmitry...
user@user-PC ~
$ cygrunsrv -Q sshd
Service : sshd
Display name : CYGWIN sshd
Current State : Running
Controls Accepted : Stop
Command : /usr/sbin/sshd -D
>> C:\cygwin\bin>ssh localhost
>> ssh_exchange_identification: Connection closed by remote host
>>
>> It still does not work. What else info I can provide?
>
> man ssh:
>
> -v Verbose mode. Causes ssh to print debugging messages about
> its progress. This is helpful in debugging connection,
> authentication, and configuration problems. Multiple -v options
> increase the verbosity. The maximum is 3.
>
C:\cygwin\bin>ssh -v localhost
OpenSSH_5.1p1, OpenSSL 0.9.8h 28 May 2008
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/user/.ssh/identity type -1
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host
What does it tell ?
SSH Server is running - but it does not offer login or user name to enter. Why?
--
-Alexey Eromenko "Technologov"
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Help me please install OpenSSH Server on Windows Vista
2009-01-19 15:29 ` Alexey Eremenko
@ 2009-01-20 9:43 ` Larry Hall (Cygwin)
2009-01-26 16:09 ` Alexey Eremenko
0 siblings, 1 reply; 13+ messages in thread
From: Larry Hall (Cygwin) @ 2009-01-20 9:43 UTC (permalink / raw)
To: cygwin
Alexey Eremenko wrote:
> On Sun, Jan 18, 2009 at 6:03 AM, Dmitry Semyonov <linulin@gmail.com> wrote:
>> On Sun, Jan 18, 2009 at 16:12, Alexey Eremenko wrote:
>>> $ cygrunsrv -S sshd
>>> and I hope SSH service started but have no idea if it really started...
>> cygrunsrv -Q sshd
>>
>>
> Thanks Dmitry...
>
> user@user-PC ~
> $ cygrunsrv -Q sshd
> Service : sshd
> Display name : CYGWIN sshd
> Current State : Running
> Controls Accepted : Stop
> Command : /usr/sbin/sshd -D
>
>>> C:\cygwin\bin>ssh localhost
>>> ssh_exchange_identification: Connection closed by remote host
>>>
>>> It still does not work. What else info I can provide?
>> man ssh:
>>
>> -v Verbose mode. Causes ssh to print debugging messages about
>> its progress. This is helpful in debugging connection,
>> authentication, and configuration problems. Multiple -v options
>> increase the verbosity. The maximum is 3.
>>
> C:\cygwin\bin>ssh -v localhost
> OpenSSH_5.1p1, OpenSSL 0.9.8h 28 May 2008
> debug1: Reading configuration data /etc/ssh_config
> debug1: Connecting to localhost [127.0.0.1] port 22.
> debug1: Connection established.
> debug1: identity file /home/user/.ssh/identity type -1
> debug1: identity file /home/user/.ssh/id_rsa type -1
> debug1: identity file /home/user/.ssh/id_dsa type -1
> ssh_exchange_identification: Connection closed by remote host
>
> What does it tell ?
> SSH Server is running - but it does not offer login or user name to enter. Why?
Did you read '/usr/share/doc/Cygwin/openssh.readme'? Did you run
ssh-user-config?
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
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/
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2009-01-26 15:57 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-12 13:12 Help me please install OpenSSH Server on Windows Vista Alexey Eremenko
2009-01-12 16:17 ` Alexey Eremenko
2009-01-12 17:22 ` Larry Hall (Cygwin)
2009-01-13 16:11 ` Alexey Eremenko
2009-01-13 22:04 ` Larry Hall (Cygwin)
2009-01-14 13:12 ` Alexey Eremenko
2009-01-14 20:59 ` Larry Hall (Cygwin)
2009-01-18 18:44 ` Alexey Eremenko
2009-01-18 19:12 ` Dmitry Semyonov
2009-01-19 15:29 ` Alexey Eremenko
2009-01-20 9:43 ` Larry Hall (Cygwin)
2009-01-26 16:09 ` Alexey Eremenko
2009-01-26 16:29 ` Dan Kegel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).