Questions tagged [cygwin-sshd]
43 questions
2
votes
1 answer
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 everything up to date and in sync.
thanks
![](../../users/profiles/50460.webp)
user50460
- 315
- 1
- 2
- 8
2
votes
2 answers
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 cyg_server user is part of the domain.
I have…
![](../../users/profiles/20081.webp)
UrkoM
- 373
- 4
- 16
2
votes
1 answer
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.
![](../../users/profiles/142612.webp)
Roman A. Taycher
- 158
- 9
2
votes
0 answers
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 list of processes is missing some of the processes…
![](../../users/profiles/96326.webp)
0x4B1D
- 141
- 7
2
votes
1 answer
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 I am wrong.
Failing that is there anyway to only let…
![](../../users/profiles/65157.webp)
dagda1
- 237
- 3
- 6
- 19
1
vote
1 answer
cygwin: chroot jail - cannot run any command
I have installed Cygwin with Apache, PHP, Mercurial, MYSQL, OpenSSH, PYTHON
I have updated sshd_config to chroot jail
to access user-defined folders
example:
Match group sftp_users
ChrootDirectory /home/%u
SSH / SFTP works fine as I wanted.
After…
![](../../users/profiles/289318.webp)
yellowandred
- 61
- 7
1
vote
0 answers
Cygwin ssh with keys error - A specified logon session does not exist
Update: The issue is only on Windows server 2008 R2. I created a Windows server 2012 R2 VM and it works fine.
I want to run some windows query through ssh, but this is a interesting issue which I'm unable to find the cause of it.
The error I get is…
![](../../users/profiles/372807.webp)
user630702
- 465
- 6
- 25
1
vote
0 answers
A specified logon session does not exist. It may already have been terminated (only from SSH)(for the accounts not specified in Log On tab)
Some progress:
This is working for the cyg_server user. That is the user by which the sshd is service is running. But this is not working other users.
Some more progress:
This is working for any account on which the services is started with. That is…
![](../../users/profiles/444846.webp)
pinkpanther
- 111
- 6
1
vote
1 answer
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 SFTP to 2 of the servers. When connecting, error…
![](../../users/profiles/185679.webp)
nlks
- 122
- 1
- 3
- 12
1
vote
0 answers
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 junk data at the top of the file. Is there any way…
user215539
1
vote
1 answer
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 the drive with the SSH daemon on it so I can't…
![](../../users/profiles/11495.webp)
DrStalker
- 6,676
- 24
- 76
- 106
1
vote
1 answer
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 other things too, but only this step gives me…
![](../../users/profiles/121081.webp)
tcoopman
- 111
- 2
1
vote
0 answers
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…
![](../../users/profiles/31420.webp)
mark
- 691
- 2
- 14
- 31
0
votes
1 answer
cygwin64 on Windows server, syslog data prints out all in one line
I am trying to automatically format syslog data from cygwin64 to print out with line breaks at the end of each line, so I can do some parsing later on. However, I don't see any configs that could yield a solution. How can I properly format the…
![](../../users/profiles/357269.webp)
M. Barbieri
- 113
- 1
- 1
- 6
0
votes
1 answer
How to allow reverse ssh-tunnel connection to my host on demand?
I've set up a reverse ssh-tunnel (no autossh is used right now, but I might be using it)from remote laptop to my pc, but I don't trust much the remote host, as there might be different people using it and I would like somehow to control, when remote…
![](../../users/profiles/195046.webp)
rightaway717
- 101
- 1