LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2018, 05:23 PM   #1
themohawkninja
LQ Newbie
 
Registered: Jun 2017
Posts: 10

Rep: Reputation: Disabled
Cygwin OpenSSH doesn't see keys.


CLOSING: Issue has changed.

Hello,

Ever since I got a new router the other day, my Cygwin-based SSH server broke.

sshd -d
Code:
debug1: sshd version OpenSSH_for_Windows_7.6, LibreSSL 2.6.4
debug1: key_load_private: No such file or directory
debug1: key_load_public: No such file or directory
Could not load host key: /etc/ssh_host_dsa_key
debug1: key_load_private: No such file or directory
debug1: key_load_public: No such file or directory
Could not load host key: /etc/ssh_host_rsa_key
debug1: key_load_private: No such file or directory
debug1: key_load_public: No such file or directory
Could not load host key: /etc/ssh_host_ecdsa_key
debug1: key_load_private: No such file or directory
debug1: key_load_public: No such file or directory
Could not load host key: /etc/ssh_host_ed25519_key
sshd: no hostkeys available -- exiting.
However, those files DO exist.

I've tried generating the keys with:
Code:
ssh-keygen -A
ssh-keygen -t dsa -N "" -f /etc/sh_host_dsa_key
/usr/bin/ssh-keygen -A
ssh-host-config
Along with giving full control to ONLY the logged in account, or ONLY another account on the system, or ONLY "SYSTEM" in-case it was a permissions error.

I'm at a loss, as all the Googled solutions don't work. The only other thing I can thing of is just uninstall and reinstall Cygwin, but I'd like to avoid that given how huge the program is.

Any ideas?

Last edited by themohawkninja; 07-18-2018 at 07:04 PM.
 
  


Reply

Tags
cygwin, ssh, sshd



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
How to convert openssh keys to openssh tectia format LittleMaster Linux - Server 1 11-17-2012 07:39 AM
OpenSSH Cygwin, Remote access without Password (different usernames) Geneset Linux - Networking 2 10-01-2007 02:30 AM
OpenSSH with multiple secret keys slackamp Linux - Server 3 10-11-2006 12:39 PM
SSH Keys on Redhat/Cygwin tracer Linux - General 2 01-05-2005 05:45 PM
configuring Openssh at cygwin vickr1z Linux - Newbie 0 09-23-2004 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:34 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