LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2017, 02:08 PM   #1
dlcraig
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Rep: Reputation: Disabled
Install Cygwin and Starting the SSH Daemon


I am following the steps I found for "Installing Cygwin and Starting the SSH Daemon" and in step 5.4.5 it has instructions to add the following line to the end of the C:\cygwin\etc\sshd_config file (only if installed version 1.7.31 or higher)

KexAlgorithms diffie-hellman-group-exchange-shal,diffie-hellman-group1-shal

What is the purpose of this?

I opened the file and did not find any Kex....text in the file.

Do I need this before I can proceed?

When I go to step 7 (steps to start the SSH daemon) and run the command /usr/sbin/sshd I get the following results:

Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/ssh_host_dsa_key
Could not load host key: /etc/ssh_host_ecdsa_key
could not load host key: /etc/ssh_host_ed24419_key
sshd: no hostkeys available --exiting.
 
Old 02-15-2017, 07:47 PM   #2
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
You should use cygrunsrv from withing cygwin to enable sshd as a windows service. There are many tutorials online.
 
Old 02-15-2017, 09:08 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,985

Rep: Reputation: 3405Reputation: 3405Reputation: 3405Reputation: 3405Reputation: 3405Reputation: 3405Reputation: 3405Reputation: 3405Reputation: 3405Reputation: 3405Reputation: 3405
https://bbs.archlinux.org/viewtopic.php?id=165382

"This will run /usr/bin/ssh-keygen -A"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Cygwin and Starting the SSH Daemon dlcraig Linux - Newbie 1 02-14-2017 08:21 AM
signal for starting daemon shifter Programming 9 10-08-2008 02:54 AM
daemon not starting up jbrearley Linux - Software 2 05-11-2006 10:54 AM
SSH with Cygwin UltraSoul Linux - General 0 07-07-2005 12:44 PM
Starting daemon during boot up chuck77 Linux - General 3 03-27-2002 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration