delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/30/05:12:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <haase AT convey DOT de>
Organization: convey Information Systems GmbH
To: Rael Gugelmin Cunha <rael AT grad DOT icmc DOT sc DOT usp DOT br>
Date: Mon, 30 Jul 2001 11:06:55 +0200
MIME-Version: 1.0
Subject: Re: Anybody really runs sshd in win2K?
CC: cygwin AT cygwin DOT com
Message-ID: <3B653FCF.18318.135E61@localhost>
In-reply-to: <996253341.3b619e9dc8363@grad.icmc.sc.usp.br>
References: <3B61B63E DOT 6886 DOT 1B43AEA AT localhost>
X-mailer: Pegasus Mail for Win32 (v3.12cDE)

> Rael Gugelmin Cunha schrieb am 2001-07-27 14:02:

> 
>  Hi Gerrit! Who are you?
>  I try it, but it not works. 
>  Please, can you send me your installation and configuration steps to sshd work?
> 
>  Thanks!!

Gerrit AT ISMENE ~
$ 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
Generating /etc/sshd_config file
Added ssh to /cygdrive/c/WINNT/system32/drivers/etc/services

Do you want to install sshd as service?
(Say "no" if it's already installed as service) (yes/no) yes

Which value should the environment variable CYGWIN have when
sshd starts? It's recommended to set at least "ntsec" to be
able to change user context without password.
Default is "binmode ntsec tty".  CYGWIN="binmode ntsec tty"

The service has been installed under LocalSystem account.

Host configuration finished. Have fun!

Gerrit AT ISMENE ~
$ /usr/bin/ssh-user-config
Shall I create an SSH1 RSA identity file for you? (yes/no) yes
Generating /home/Gerrit/.ssh/identity
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Do you want to use this identity to login to this machine? (yes/no) yes
Adding to /home/Gerrit/.ssh/authorized_keys
Shall I create an SSH2 RSA identity file for you? (yes/no)  (yes/no) yes
Generating /home/Gerrit/.ssh/id_rsa
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Do you want to use this identity to login to this machine? (yes/no) yes
Adding to /home/Gerrit/.ssh/authorized_keys2
Shall I create an SSH2 DSA identity file for you? (yes/no)  (yes/no) yes
Generating /home/Gerrit/.ssh/id_dsa
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Do you want to use this identity to login to this machine? (yes/no) yes
Adding to /home/Gerrit/.ssh/authorized_keys2

Configuration finished. Have fun!

Gerrit AT ISMENE ~
$ cygrunsrv -S sshd

Gerrit AT ISMENE ~
$ ssh ismene
The authenticity of host 'ismene (192.168.5.3)' can't be established.
RSA key fingerprint is 32:2b:b2:9a:9a:35:86:94:e3:13:20:4c:6c:ca:d0:9d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ismene,192.168.5.3' (RSA) to the list of known hosts.
Enter passphrase for key '/home/Gerrit/.ssh/id_rsa': 
Fanfare!!!
You are successfully logged in to this server!!!

Ciao,

gph


-- 
gerrit DOT haase AT convey DOT de

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019