Mac os x Windows Sharing dead after machine wake

On my Windows machine, i often call this command to sync a dir:

$ rsync -z -a -v --delete --rsh="ssh -l xah" ~/web/ xah@

However, i think whenever my mac went to sleep then wake, i get this error:

ssh: connect to host port 22: Connection timed out
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packagi
ng/tmp/rsync-2.6.9/io.c(453) [sender=2.6.9]

i thought i just restart the smb process.
I went to the the System Preferences, Sharing, restarted the Windows Sharing and Remote Login.

However, that didn't help. (restarting the mac works fine)

Any idea what's going on?

My os x version is 10.4.11.

PS in the old days, i recall samba has smbd as its process. but i don't see that in os x. Any tech doc i can read up on how this service has changed?

∑ http://xahlee.org/

No comments:

Post a Comment