delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
Subject: | RE: OpenSSH_3.9p1 and Could not load host key |
Date: | Tue, 29 Mar 2005 12:02:46 -0500 |
Message-ID: | <887691AAF56A5C4A803F6850D35C089D3A7AD8@cerveau.thoughts.thinkage.ca> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Peter Fraser" <pjf AT thinkage DOT ca> |
To: | "Cygwin List" <cygwin AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j2TH6rPb022396 |
I used the method from <http://cygwin.com/ml/cygwin/2004-08/msg01132.html> A piece of code I would have never thought of. On the windows XP system the output was bash: /etc/profile: Permission denied bash-2.05b$ /usr/sbin/sshd -D -d -d -d debug2: load_server_config: filename /etc/sshd_config debug2: load_server_config: done config len = 203 debug2: parse_server_config: config /etc/sshd_config len 203 debug1: sshd version OpenSSH_3.9p1 debug1: private host key: #0 type 0 RSA1 debug3: Not a RSA1 key file /etc/ssh_host_rsa_key. debug1: read PEM private key done: type RSA debug1: private host key: #1 type 1 RSA debug3: Not a RSA1 key file /etc/ssh_host_dsa_key. debug1: read PEM private key done: type DSA debug1: private host key: #2 type 2 DSA debug1: rexec_argv[0]='/usr/sbin/sshd' debug1: rexec_argv[1]='-D' debug1: rexec_argv[2]='-d' debug1: rexec_argv[3]='-d' debug1: rexec_argv[4]='-d' debug2: fd 3 setting O_NONBLOCK debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. Generating 768 bit RSA key. RSA key generation complete. debug3: fd 4 is not O_NONBLOCK debug1: Server will not fork when running in debugging mode. debug3: send_rexec_state: entering fd = 7 config len 203 debug3: ssh_msg_send: type 0 debug3: send_rexec_state: done debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7 bash-2.05b$ bash-2.05b$ cat ss ------ and on the OpenBSD system Last login: Tue Mar 29 11:49:52 2005 from gateway.thinkage.ca Fanfare!!! You are successfully logged in to this server!!! Environment: ALLUSERSPROFILE=C:\Documents and Settings\All Users AVENGINE=C:\PROGRA~1\COMPUT~1\SCANEN~1 COMMONPROGRAMFILES=C:\Program Files\Common Files COMPUTERNAME=WHOOPS COMSPEC=C:\WINDOWS\system32\cmd.exe CYGWIN_ROOT=c: EXCHICONS=C:\Program Files\Exchsrvr\bin\maildsmx.dll FP_NO_HOST_CHECK=NO HOME=/pjf INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\ INOCULAN=C:\PROGRA~1\COMPUT~1\INOCUL~1 LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\ NUMBER_OF_PROCESSORS=2 OS=Windows_NT PATH=/Program Files/Legato/nsr/bin:/Program Files/Windows Resource Kits/Tools/:/WINDOWS/system32:/WINDOWS:/WINDOWS/System32/Wbem:/Program Files/Support Tools/:/Program Files/ATI Technologies/ATI Contr PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel PROCESSOR_LEVEL=15 PROCESSOR_REVISION=0209 PROGRAMFILES=C:\Program Files PWD=/WINDOWS/system32 SHLVL=1 SYSTEMDRIVE=C: SYSTEMROOT=C:\WINDOWS TEMP=/WINDOWS/TEMP TERM=xterm TMP=/WINDOWS/TEMP USERPROFILE=C:\Documents and Settings\NetworkService VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\ WINDIR=C:\WINDOWS _=/usr/sbin/sshd TZ=EST5EST4,M4.1.0/2,M10.5.0/2 USER=pjf LOGNAME=pjf MAIL=/var/spool/mail/pjf SHELL=/bin/bash SSH_CLIENT=192.102.11.1 19942 22 SSH_CONNECTION=192.102.11.1 19942 192.102.11.8 22 SSH_TTY=/dev/tty0 DISPLAY=localhost:10.0 Running /usr/X11R6/bin/xauth remove unix:10.0 /usr/X11R6/bin/xauth add unix:10.0 MIT-MAGIC-COOKIE-1 dc859ebcea010616dfd2ba9357105488 /usr/X11R6/bin/xauth: not found bash.exe: warning: could not find /tmp, please create! -bash: /etc/profile: Permission denied -bash: /pjf/.bash_profile: Permission denied -bash-2.05b$ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |