LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 05-06-2015, 12:59 PM   #1
Jambo
LQ Newbie
 
Registered: May 2015
Posts: 0

Rep: Reputation: Disabled
RedHat SSH to Windows 7 failing


I am trying to ssh into my windows7 laptop from RedHat Linux. Generated the keys on the Linux Server and copied over the public keys to the Windows User's home location under the .ssh folder [C:\Users\xxxx\.ssh] and named it authorized_Keys.

When I try doing ssh -vvv <user>@<localhost> I get prompted for the password and when I enter the password for the user (me) it does not recognize it. I am confused and frustrated. It is bad enough that it is prompting me for the password but when I give it my domain password it just doesn't accept it. Now why is it that it is not recognizing the password? I do have Cygwin64 installed but that should not have anything to do with it.

Please help

Thanks
 
Old 05-06-2015, 01:03 PM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
The client is the device attempting to connect and the server is the device it attempts to connect to.
So, you would be looking for a Windows SSH Server for your Linux clients to connect to.
 
Old 05-06-2015, 01:08 PM   #3
Jambo
LQ Newbie
 
Registered: May 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
But I do have sshd service running. Isn't that enough?
 
Old 05-06-2015, 02:09 PM   #4
Jambo
LQ Newbie
 
Registered: May 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
RedHat SSH to Windows 7 failing

But I have sshd service from Cygwin running with the same credentials as I am trying to connect with.

Thanks
 
Old 05-07-2015, 02:27 PM   #5
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
authorized_Keys or authorized_keys?
 
Old 05-07-2015, 03:50 PM   #6
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
Also, regarding the password failure, do you have to add a user in your cygwin "system"? I haven't used it in a long time so I don't remember. Check /etc/passwd and /etc/ssh/sshd_config.
 
  


Reply



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
Failing to SSH between boxes on the same wireless network marnold Slackware 15 02-12-2011 05:54 PM
SSH failing on hostname ArcLinux Linux - Networking 2 02-09-2007 12:56 PM
Cannot ssh from Windows XP to Linux Redhat 9 using SecureCRT plunday Linux - Networking 4 08-31-2004 05:15 PM
ssh-key authentication failing on one machine chr15t0 Linux - Security 3 08-21-2003 04:24 PM
Failing to connect to TELNET, FTP or SSH dbadft Linux - Networking 10 04-16-2003 02:44 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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