The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
18 views

how to properly setup permission for cygwin chrooted ssh server?

Can someone point me in the right direction about how to properly configure the permissions for a chrooted ssh server (sftp only in my case)? Specifically on a windows computer and how the folder ...
0
votes
0answers
16 views

DUO security for copying files instead of remote log-in?

So I find DUO security very useful to have 2FA when accessing my Windows servers via Remote Desktop. Now, what I'm interested in is to copy files to a Windows server in order to deploy an ...
-1
votes
1answer
119 views

SSH connecting on port 22 but times out on 443 [closed]

I'm trying to connect to an ssh sever running on cygwin on my home computer through putty on my laptop, this works fine both inside my network and outside on port 22 but on port 443 it times out. ...
0
votes
0answers
18 views

How do I run dnscmd via ssh?

I am looking for a working solution that would allow me to run dnscmd and other similar commands that do require you to logged in into a domain via SSH, so I can execute them freely from my machine ...
0
votes
0answers
66 views

Can't SSH to Windows Server 2012 R2 Essentials

I have setup OpenSSH on a Windows Server 2012 R2 Essentials machine and have sshd running as a service. I have opened up incoming traffic in the firewall rules on port 22 for TCP. I generated keys ...
0
votes
1answer
50 views

CYGWIN SSHD DISCONNECTING

these are my steps for installation $chgrp Administrators /var/run $chgrp Administrators /var/log $chgrp Administrators /var/empty $chmod 775 /var/run $chmod 775 /var/log $ssh-host-config [...] *** ...
0
votes
1answer
276 views

CYGWIN SFTP not working suddenly. Connection closed after authentication

I'd installed CYGWIN for SFTP purpose few weeks ago in a few Win 2003 R2 x64 server and initially all of them are working without problem. However this week problem rises where users are not able to ...
0
votes
0answers
55 views

Cygwin SSHD - logged user gets full access to machine

I have installed and configured Cygwin SSHD daemon on Windows 7 following these instructions: http://dbaportal.eu/2015/03/05/installing-openssh-cygwin-1-7-35-on-windows-2012-r2/ I created a special ...
0
votes
2answers
110 views

How to resolve ssh/sftp log data not getting picked up by syslog-ng in cywgin64?

I've installed ssh and syslog-ng through cygwin (V3.2) on a Windows Server 2012 and attempting to get log output out of sshd. I'm using the default /etc/syslog-ng/syslog-ng.conf file... @version: 3.2 ...
0
votes
0answers
180 views

How to add a domain user to passwd for OpenSSH in Cygwin?

I have OpenSSH installed on a Windows Server machine (package from MLS Software). I want to add some domain user to the passwd file. I do mkpasswd -d -u username, but the program just hangs because ...
2
votes
1answer
66 views

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 ...
0
votes
0answers
141 views

Lock Down Users on Cygwin SFTP Server

How do I lock down sftp users in Cygwin so that they can't read from random directories such as /etc. i set up local windows accounts for each sftp user on the machine. I've used /etc/fstab file to ...
-2
votes
1answer
190 views

Error starting cygwin sshd on Windows 8 [closed]

After installing sshd via cygwin on Windows 8 on a system that is not on a domain, the service will not start but gives an error such as: Error 1068: The dependency service or group failed to start. ...
0
votes
1answer
693 views

SSHD on Cygwin: can't connect as “root” from a Linux box

I'm trying to connect a Linux (CentOS 6.5 x64) server and another server, a Windows Server 2008 R2 running Cygwin, and transfer files daily via SSHD from Linux to Windows, and I will use public keys ...
2
votes
1answer
40 views

Any way to centrally administer cygwin updates?

Is there a way to centrally administer cygwin, i.e. run remote updates on multiple boxes from a central 'admin machine'? basic goal: keep sshd up to date on all instances stretch goal: keep ...
1
vote
0answers
1k views

CygWin SSH server and “StrictModes” via Windows ACL

I have successfully set up the SSH server in a CygWin installation on Win2k3. It works properly through both password authentication and public/private keys. However, once I set 'StrictModes' in ...
1
vote
0answers
88 views

CygWin SSHD and UTF-8 BOM

The CygWin ssh server configuration file "config_sshd" seems to need to be written minus a byte order marker. The server will accept UTF-8 but obviously becomes confused if it sees what it thinks is ...
6
votes
2answers
7k views

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?) ...
0
votes
1answer
485 views

Cygwin OpenSSH Server Error 1062

I tried to setup an OpenSSH Server on my Windows machine. I installed cygwin and the openssh package. Then configured "ssh-host-conf" an *** Query: Overwrite existing /etc/ssh_config file? ...
2
votes
1answer
2k views

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 ...
0
votes
1answer
951 views

Cygwin mkpasswd giving The format of the specified domain name is invalid

While trying to finish Cygwin config and running mkpasswd -l -d and mkgroup, it fails with the following error $ mkpasswd -l -u sorins -d /etc/passwd ...
1
vote
2answers
1k views

SeTcbPrivilege not working, RSoP.msc, gpresult show it's enabled, whoami /priv shows disabled

I'm trying to install Cygwin with SSHd on a Windows Server 2008 R2 domain controller. I have installed Cygwin and SSHd several times on other machines, with no issues. Being a domain controller, the ...
0
votes
0answers
874 views

Server unexpectedly closed network connection when connecting to cygwin through ssh

I followed Noah's guide on how to run the OpenSSH SSHD server on Windows using Cygwin and it worked great until I shut down my PC and then rebooted it. Now every time I try to connect I get ...
2
votes
3answers
1k views

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 ...
2
votes
1answer
133 views

cygwin sshd service crashes whenever I open certain file in /etc

When I try to vim /etc/profile or vim /etc/motd it stops. When I try to touch those files it stops. Any ideas? Nothing in the ssh logs that seems to be pertinent.
3
votes
1answer
137 views

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 ...
1
vote
1answer
179 views

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 cyg_server SeAssignPrimaryTokenPrivilege ...
1
vote
1answer
424 views

Cygwin: how do I disable /cygdrive

I'm using a cygwin based SSHD server and I want to disable the /cygdrive/c and /cygdrive/d paths; is this possible? Using NTFS ACLs to achieve this will be a mess because the user will need access to ...
0
votes
2answers
3k views

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 ...
1
vote
1answer
4k views

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 ...
5
votes
1answer
4k views

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 ...
2
votes
0answers
577 views

cygwin's ps -W doesn't show all processes when running through an ssh session

I hope this is the right place to ask this question: I have two machines (Win7) running cygwin. Machine A connects to Machine B through an ssh session. When I run ps -W in the ssh terminal on A, the ...
1
vote
1answer
321 views

Fabric and cygwin don't work with windows UNC paths

I have some strange problems with fabric deployment to Windows Server 2008r2. The thing I try to accomplish is to copy some files to a shared folder with a fabric script (this script does a lot of ...
4
votes
1answer
56 views

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.
0
votes
1answer
872 views

Empty homedir name when SSHing to localhost

I am trying to start a system (Hadoop, but that should not matter much for this question), and need to be able to ssh to localhost. I do this on windows with cygwin. The cygwin SSHD service is ...
5
votes
10answers
11k views

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 ...
1
vote
1answer
3k views

cygwin sftp limit user's to home directory

Is there any way to limit users to certain home directories with sftp and cygwin: For example user1 cannot get out of /home/user1/ User2 /home/user2/ I don't think there is on windows but maybe ...
1
vote
0answers
739 views

How to fix “SignTool Error: IStore2::Load returned error: 0x80090345”

I have a Jenkins job running the signtool utility on a remote node, the console log looks like so: Started by user anonymous Building remotely on vm-builder [VE] $ cmd /c call "C:\Documents and ...
1
vote
2answers
2k views

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 ...
0
votes
2answers
7k views

cygwin ssh connection to server port 22 connection refused on localhost

I set up a ssh server through ssh-host-config. Then I started the server. net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service was started successfully. When I try to ...
0
votes
2answers
104 views

Are there any incompatibility issues when running cygwin sshd on a windows 2003 domain controller?

I am asking for incompatibility here. Safety was already covered in that question.