tweeking ssh-d scripts