G-Stress Posted July 14, 2010 Share Posted July 14, 2010 Having major problems trying to get any SSH Server working in 2k3. I've tried OpenSSH, FreeSSHd and copSSH currently. OpenSSH I tried using the following config from this thread: http://www.hak5.org/forums/index.php?showtopic=7118&hl= I had that working along time ago on XP just fine. When I tried in this 2k3 VM executing the following 2 lines mkgroup -l > ..etcgroup mkpasswd -l > ..etcpasswd it just hung in the prompt and done nothing. So I tried freeSSHd which I actually like, but everytime I went to connect using Putty, putty just came to a hault and freeSSHd would crash in the VM. Now with copSSH I used this link to install http://blogs.windowsnetworking.com/wnadmin...3-using-copssh/ but no matter what every user I activate when trying to connect using putty I get access denied. What have you guys used and recommend for ssh tunneling in 2k3? Quote Link to comment Share on other sites More sharing options...
Infiltrator Posted July 14, 2010 Share Posted July 14, 2010 (edited) At your 2K3 machine is there any firewall active? Can you ping the 2K3 from any other machine on the network? At one stage during, my SSH Server configuration, I had to generate certificates, have you done it at all? Make sure you have the correct permissions on the user account in order to access the SSH server, if not that could be reason you are receiving Access is Denied. Edited July 14, 2010 by Infiltrator Quote Link to comment Share on other sites More sharing options...
Bit Hunter Posted July 14, 2010 Share Posted July 14, 2010 I use WinSSHd from Bitwise [ http://www.bitvise.com/winsshd.html ]. It works like charm on Windows 2003. There is a free version for personal usage... Quote Link to comment Share on other sites More sharing options...
G-Stress Posted July 15, 2010 Author Share Posted July 15, 2010 @ Infiltrator, Yea I can definitely ping the DC VM I also use it as a VPN Tunnel. As far as I know the correct permissions are set for the ssh server. Using copssh it said once I activated each user that it can now access the ssh server. I have not generated certificates yet for it. I may try that. @ Bit Hunter, Yea as soon as I posted this thread I discovered winSSHd. It was my first time hearing about that one and I installed it in an XP VM and it worked just fine. So I think I'm gonna try it now in the 2k3 DC VM. Quote Link to comment Share on other sites More sharing options...
Infiltrator Posted July 15, 2010 Share Posted July 15, 2010 Hi G-Stress, If your problem gets resolved, could you please post the solution in here, thanks. Quote Link to comment Share on other sites More sharing options...
G-Stress Posted July 16, 2010 Author Share Posted July 16, 2010 Will definitely do. I tried WinSSHd and still the same thing. Access denied so I'm positive now it is a permission setting somewhere in 2k3. Quote Link to comment Share on other sites More sharing options...
Infiltrator Posted July 16, 2010 Share Posted July 16, 2010 Will definitely do. I tried WinSSHd and still the same thing. Access denied so I'm positive now it is a permission setting somewhere in 2k3. Make sure the installation directory and its sub directories have the proper permissions set. Quote Link to comment Share on other sites More sharing options...
Bit Hunter Posted July 16, 2010 Share Posted July 16, 2010 (edited) Does the user have access to CMD.exe. Have you tried to SFTP to the server. Have you tried with a local user or a virtual user in WinSSHd. I am running WinSSHd on Windows 2003 Standard (without DC), don't have any problems. Edited July 16, 2010 by Bit Hunter Quote Link to comment Share on other sites More sharing options...
G-Stress Posted July 17, 2010 Author Share Posted July 17, 2010 Hmmm, well I'm running enterprise edition as a DC I'll check the permission settings on the directory's. All user's whom is going to be using ssh does have access to cmd.exe and they are all local user's. I haven't tried SFTP yet I'll give that a go too then I'll definitely post back results. Quote Link to comment Share on other sites More sharing options...
G-Stress Posted July 19, 2010 Author Share Posted July 19, 2010 Got it figured out guys. I was getting and error indicated in this link and resolved it with the solution provided: http://technet.microsoft.com/en-us/library...593(WS.10).aspx I then had to add permissions to the installation directories as mentioned by Infiltrator. I was using Putty and Tunnlier as the clients. With putty I log in just by typing the username. With Tunnlier I had to type DOMAIN\USER. I was using winSSHd, but had to switch back to copSSHd, because winSSHd personal use license doesn't support domains. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.