added ssh/scp options handling