app/cyclid/plugins/transport/ssh.rb in cyclid-0.2.4 vs app/cyclid/plugins/transport/ssh.rb in cyclid-0.2.5
- old
+ new
@@ -120,19 +120,13 @@
channel.wait
end
# Close the SSH connection
def close
- logout
-
@session.close
end
private
-
- def logout
- exec 'exit'
- end
def build_command(cmd, path = nil, env = {})
command = []
if env
vars = env.map do |k, value|