Install VNC, SSH, Rsync server on Windows

This article records installing some softwares on Windows 7 Home Edition, so I can visit Windows from ohter computers. They are UltraVNC for visit Windows Desktop(No rdp server in Windows Home Edition ), Copssh for visit Windows through SSH, cwRsync for incremental backup Windows files.

UltrVNC:
http://www.uvnc.com/

You can use the Windows Desktop remotely when don’t use it locally at the same time. I configure it through the firewall, but failed, so use firewall advanced configuration open a local port for UltrVNC. See also: Open a Port in Windows 7’s Firewall: http://maximumpcguides.com/windows-7/open-a-port-in-windows-7s-firewall/

Copssh and cwRsync:
https://www.itefix.no/i2/freesoftware

These two servers will be running use an administrator account user, newly created or existed in system already.

There are some tricks for using password visit cwRsync Server running on Windows.
“rsyncd.conf” in server side need set “auth users”, “serets file” and keep “strict modes = true”(the default value), the “secrets file” in server and the “password-file” in guest must only be readable by the user running the cwRsync server. I must mount the folder which include these two files under Windows with “acl” option(Windows’ acl need filesystem support, NTFS is ok, Linux guest need “chmod 0600 “). And, I think it is best to delete all other user’s permission on these two files.

The configuration file example in cwRsync server:

********************************************************
/rsyncd.conf

uid = nobody
gid = nobody
use chroot = false
hosts allow = *
transfer logging = yes
log file = rsyncd.log

[test]
path = /cygdrive/d/test
read only = true
auth users = testor
secrets file = /etc/rsync_scrt/rsyncd.scrt
strict modes = true

********************************************************

/etc/rsync_scrt/rsyncd.scrt

testor:123456

********************************************************

Mount the folder with “acl” option:
Append into: /etc/fstab

C:/Program\040Files\040(x86)/ICW/etc/rsync_scrt /etc/rsync_scrt ntfs override,binary,acl 0 0

********************************************************

Command line example to visit cwRsync Server:

rsync -avz --progress testor@192.168.1.2::test/ ~/test/ --password-file=/etc/rsync_scrt/rsyncd.pass

********************************************************

/etc/rsync_scrt/rsyncd.pass

123456

********************************************************

See also:
How to Get Pro Features in Windows Home Versions with Third Party Tools: http://www.howtogeek.com/124260/

Leave a comment

Your comment

IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

6 plus 12 equal to?
Please leave these two fields as-is:

蜀ICP备2021012931号-1 川公网安备51092202000377号