add missing extend for ssh class and update gemspec dependencies