Questions tagged [cygwin-sshd]
43 questions
12
votes
3 answers
Why does ssh-host-config create two users in Cygwin on Windows 8.1?
In trying to resolve some issues with using Cygwin + SSH on Windows 8.1, I'd like to know why the ssh-host-config script creates two new accounts configuring OpenSSH from scratch? (Is this necessary?)
The two accounts are: cyg_server and sshd, when…
not2qubit
- 271
- 1
- 3
- 10
8
votes
3 answers
Unattended solution to install cygwin and enable ssh server on Windows?
Using Cygwin environment on Windows is a very common solution for automation.
I am looking for a script that would automate the cygwin installation and enablement of ssh server.
I could try to write one but one of the problems is that I don't know…
sorin
- 7,668
- 24
- 75
- 100
8
votes
1 answer
How can the Address condition in a Match conditional block in sshd_config be negated?
I would like to force users into a specific command when they log in from outside my LAN via SSH to my LAN. My idea was, to use ForceCommand in a Match conditional block, that matches all addresses except for the ones in my LAN.
I have tried the…
Oswald
- 208
- 1
- 2
- 6
7
votes
11 answers
How to get rid of QueryServiceStatus: Win32 error 1062 when you try to start sshd on Cygwin?
I installed Cygwin and sshd on Windows 7 but I'm not able to make it work.
I followed the guide from http://www.noah.org/ssh/cygwin-sshd.html but I still get:
$ cygrunsrv -S sshd
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error…
sorin
- 7,668
- 24
- 75
- 100
4
votes
3 answers
cygwin ssh works locally, not remotely
I have Cygwin with SSH server installed (Windows 7). After setting up I can login locally using "ssh localhost -l [myUsername]". I input my password. Success.
However, trying to SSH to the machine remotely from a different machine connects, but…
JasonGenX
- 522
- 1
- 5
- 16
4
votes
1 answer
Cygwin key-based auth
I have a server running Windows 2003 that is using Cygwin's SSHD. Where do I save my public key to in order to allow key-based auth? The Linux equivalent is ~/.ssh/authorized_keys.
nocto
- 41
- 1
3
votes
1 answer
Create domain policy to assign user rights
I’m a Unix administrator who also has to work with various MS Windows servers. For various tasks, I’m a lot more productive using the Unix tools that I’m familiar with and for a long time, I’ve been using Cygwin on my local workstation. Now, I’d…
Anthony Geoghegan
- 2,800
- 1
- 23
- 34
3
votes
1 answer
Log places to look for when a Vista service stops immediatly
I'm trying to diagnose why cygwin sshd service starts and stops immediately. In the Vista application event log I found:
sshd: PID 3480: `sshd' service stopped, exit status: 255
It doesn't help much.
Where could I look for other hints? Other places…
Philippe Blayo
- 271
- 1
- 2
- 10
3
votes
1 answer
User's rights to run a service on Vista
What rights a user needs to run cygwin sshd as a service on vista? A ssh-host-config creates user cyg_server with 5 rights:
$ editrights.exe -l -u…
Philippe Blayo
- 271
- 1
- 2
- 10
3
votes
3 answers
How to configure ssh key based authentication in openssh running on cygwin?
I was able to install and configure openssh on cygwin and is running just right but with one problem: I cannot use private/public key authentication, it just doesnt work.
I followed the same steps as on Linux, adding my key to ~/.ssh/authorized_Keys…
sorin
- 7,668
- 24
- 75
- 100
3
votes
1 answer
ssh localhost exits with "debug1: Exit status -1 "
I am trying to setup ssh and ssh to localhost on Cygwin, but I am getting the following error. Any suggestions will be appreciated:
$ ssh -v localhost
OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data…
fixxxer
- 131
- 1
- 1
- 4
3
votes
2 answers
SSH connection times out
Given:
vm - a WinXPsp3 virtual machine hosted by a Win7sp1 physical machine
alice is the user on vm
srv - a Win2008R2sp1 server
bob is the user on srv
quake - a linux server
mark is the user on quake
Both vm and srv have the same new installation…
mark
- 691
- 2
- 14
- 31
2
votes
1 answer
Fatal: unable to initialise SFTP: could not connect
I'm running OpenSSH on Cygwin, which I'm trying to use as an SFTP server only. I installed it first with just the default settings (external SFTP server sftp-server) and it worked. I was able to run PuTTY's PSFTP and "open localhost" and browse my…
Kidburla
- 131
- 2
- 8
2
votes
1 answer
cygwin sshd "getnameinfo failed"
I run an Openssh sshd service from Cygwin. When an RSA connection is established:
$ ssh Administrator@ZETA
Last login: Wed May 11 13:58:50 2016 from 10.1.1.140
-- there is no error message.
However, when I use an inline command:
$ ssh…
Muposat
- 121
- 9
2
votes
1 answer
Cygwin OpenSSH server does not respond after first command from PHP (Using phpseclib)
I got cygwin and sshd working fine. And there are no issues at all when using putty. It responds as expected even for multiple commands. But when using phpseclib , A response is received only for the first command. Subsequent commands are giving a…
Sai Chaitanya
- 131
- 1
- 5