This is the mail archive of the
mailing list for the Cygwin project.
Re: Problem logging into ssh
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 02 Jun 2014 12:27:21 -0400
- Subject: Re: Problem logging into ssh
- Authentication-results: sourceware.org; auth=none
- References: <96A00236-4DDD-4F39-917D-DC674ECE2642 at gmail dot com> <1401562511998-108985 dot post at n5 dot nabble dot com>
- Reply-to: cygwin at cygwin dot com
On 05/31/2014 02:55 PM, PolarStorm wrote:
Noah White wrote
Iâve installed and configured sshd to run as a service under a particular
account which is an Administrator. I can ssh in fine as that user.
However, if I try to ssh as any other user I get the following error:
Last login: Wed May 21 18:58:35 2014 from foo.home
/bin/bash: Operation not permitted
Connection to tango closed.
The sshd installation scripts creates two users, one which should not be
used for login, so make sure you sue the right one. Some months ago
Actually, neither of the two possible accounts, one for running the service
and one for, optionally, privilege separation, should be used by the user as
a login. The user should login via ssh using their Windows account login
name, after running 'ssh-user-config' as that user.
I posted details about various other issues with sshd setup on W8
machines. I have no idea if any of these have been fixed and implemented,
but have a close look at the thread:
Also, one of the accounts are erroneously set to expire in 42 days.
The privilege separation account, sshd, is disabled by design. This
keeps anyone from using it as a login, since the account is supposed to
be used solely by the service as an added security measure.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple