Solved

openssh on Windows 2003

Posted on 2011-03-17
9
808 Views
Last Modified: 2012-05-11
I am following the procedures in the link you provided for installing openssh on windows 2003 server. I am using the older version because the compiling your own seemed to involved for a non-unix person. Anyway I am almost done but I am stuck at:

¦If you're not using the full Cygwin install you probably won't have bash so you will need to change the shells in the passwd file to use /cygdrive/c/Windows/system32/cmd.exe.

I do not find where in the passwd file I would change this.

0
Comment
Question by:InSearchOf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
9 Comments
 
LVL 11

Accepted Solution

by:
willettmeister earned 250 total points
ID: 35159948
in cygwin it should be in .etc/passwd
0
 
LVL 4

Assisted Solution

by:sgvill
sgvill earned 250 total points
ID: 35159958
you generally put it after the home directory.  Here is a link that shows a typical format

http://www.cyberciti.biz/faq/understanding-etcpasswd-file-format/
0
 

Author Comment

by:InSearchOf
ID: 35160103
Great. Thanks for the info. When I ran the mkpasswd command I used the -d switch because it was a domain user but it created accounts for all my domain users. Can I just delete the the other users?
0
Surfing Is Meant To Be Done Outdoors

Featuring its rugged IP67 compliant exterior and delivering broad, fast, and reliable Wi-Fi coverage, the AP322 is the ideal solution for the outdoors. Manage this AP with either a Firebox as a gateway controller, or with the Wi-Fi Cloud for an expanded set of management features

 
LVL 4

Expert Comment

by:sgvill
ID: 35160696
you should be able to remove the domain user accounts you don't need.
0
 

Author Comment

by:InSearchOf
ID: 35182257
Ok. Thanks for the info. One last question. In the command below where it says "/cygdrive/"
would I change that to c: or do I use the syntax as is?

¦If you're not using the full Cygwin install you probably won't have bash so you will need to change the shells in the passwd file to use /cygdrive/c/Windows/system32/cmd.exe
0
 

Author Comment

by:InSearchOf
ID: 35189772
I cannot start the openSSH service. I get these two errors:

-starting service `OpenSSHd' failed: execv: 1, Operation not permitted.
-starting service `I' failed: redirect_fd: open (1, /var/log/OpenSSHd.log): 13, Permission denied.

The "logon On" in the service properties is set to the SSH user I created. The log file in the C:\Program Files\OpenSSH\var\log is empty. Can I enable this somewhere so that I can get error info?
0
 
LVL 11

Expert Comment

by:willettmeister
ID: 35206152
Trying opening the cygwin prompt on the system so that you have a LINUX style shell and go to /var;log.OpenSSHd.log and see if there is info there.

0
 

Author Comment

by:InSearchOf
ID: 35206993
I am not unix savvy at all. How do I do that with my version of openSSH? From what I read openSSH installs a partial version of Cygwin.
0
 

Author Comment

by:InSearchOf
ID: 35209238
Ok. I reinstalled it. I got the service to start, generated the public/private keys and I make the connection but I do not see where I can download anything.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ransomware continues to grow in reach and sophistication, putting data everywhere at risk. Learn how to avoid being caught in its sinister clutches with these 11 key tips.
Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question