> Did you notice the -p option which I used to restart the rshsvc service?
> Type "rshsvc.exe /?" to check out this option.
-p: Do not use passwords stored locally for users
(Passwords for individual users
can be stored by running the 'rshpswd' command)
> I got past the "acces denied" error by invoking rshsvc.exe with the -p
> option. After that, still no fun.
I have removed rshsvc and:
C:\SFU\common>rshsvc.exe -remove
Remote Shell Service: Service Removed
C:\SFU\common>rshsvc.exe -install
Remote Shell Service: Service installed successfully
C:\SFU\common>rshsvc.exe -start -p
Remote Shell Service: Service started
C:\SFU\common>rshpswd
Enter your password:
C:\SFU\common>rsh server-01 dir c:
Access is denied
or, if you prefers:
C:\SFU\common>rsh server-01 -l Stefano dir c:\
Access is denied
C:\SFU\common>rsh localhost -l Stefano dir c:\
Access is denied
.... SIGH!!!
> IMHO, rshsvc.exe is a handicapped toy not worth spending your time on.
> In fact, there may be freeware sshd (Secure Shell Daemon) much better
> than using rshd. The later is insecure. Check out cygwin implemenation
> of sshd instead.
OK! I know the security problem of rshd but I want understand why rshsvc
give me 'Access Denied'.
>I would recommend a freeware version of OpenSSH for Windows.
http://sshwindows.sourceforge.net/
I am going to the site now :-)
Thanks
Stefano