add specs for authentication errors and closing the session
rename shell => local, ssh => remote
fix name error in response_spec
remote class and spec