support rsh command

Fixed some silly bugs
add parameter to set ssh command
include ssh in contrib folder