LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2009, 02:36 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
Open SSH windows version


I know this is Windows and not Linux but wondering if someone here may know more about this considering it's normally an app used under Linux.

I'm trying to set it up going through a tutorial but I'm getting stuck When I try to start the service I get an error so I check the log and this is the error:

/var/empty must be owned by root and not group or world-writable.

Keeping in mind this is under Windows, this error makes no sense. There is no /var/empty folder (there is a c:\program files\openssh\var\empty folder however) and there is no root user. Really not sure what to do from here.
 
Old 06-01-2009, 02:45 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Not that I have a clue, but you could try changing the owner and permissions of the folder c:\program files\openssh\var\empty to Administrator; you have to logon as as Administrator and click on the folder, permissions etc. Worth trying anyway..
 
Old 06-01-2009, 02:50 PM   #3
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
Yeah tried that.

Also lot of sites say to run some sshd-config file or something but that does not exist in windows obviously, and it's not in the openssh bin folder either.

Do I need to install cygwin too maybe?
 
Old 06-01-2009, 02:53 PM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
What tutorial? Post the URL (both because I want to learn about the same topic and because we can answer your questions better if we can see the tutorial you used).

I assume you installed some part of cygwin (probably not enough of it) and /var/empty is inside cygwin and you don't understand cygwin well enough to know where to look for it nor what to do with it.

But I need to know more about what part of cygwin you installed (unless there is another way to do ssh in Windows) before I can answer anything.

Edit: I typed the above having seen only your first post. So now I see you've installed a lot less of cygwin than I would expect you to need (understatement if you really installed none of it). But still without seeing the tutorial I don't know what parts of cywin, if any, you need.

Last edited by johnsfine; 06-01-2009 at 03:10 PM.
 
Old 06-01-2009, 03:27 PM   #5
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
This is the tutorial I originally started on but then saw the link for win2k3 so I went to that one.

http://pigtail.net/LRP/printsrv/cygwin-sshd.html

win2k3: http://www.cs.bham.ac.uk/~smp/projects/ssh-windows/
 
Old 06-01-2009, 04:02 PM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Sorry, now that I see that win2k3 tutorial, I realize the half way cygwin environment it describes is beyond my expertise. I barely understand the interaction of cygwin security concepts with Windows security concepts and cygwin directory tree with Windows directories when cygwin is installed normally with the cywin setup program (and whatever ssh components you install are within cygwin).

I don't understand either the security or the directory tree issues using ssh outside of the cygwin directories.
 
  


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
open-ssh vs. commercial ssh (tru64), public-key auth not possible? cf050 Linux - Networking 8 03-28-2012 11:15 AM
LXer: DSS, Inc., Announces Open Source Version of vxVistA EHR Framework, Joins Open H LXer Syndicated Linux News 0 01-07-2009 03:30 AM
Redhat9 ssh Remote X Display Can't Open under windows xp dreamcarrior Linux - Networking 1 10-05-2008 12:21 AM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 12:34 PM
what open source app is like pfm.com version 3.14 for MS Windows O/S? t3gah Programming 3 05-04-2005 10:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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