README.md in net-ssh-session-0.1.0 vs README.md in net-ssh-session-0.1.1

- old
+ new

@@ -69,10 +69,13 @@ 'cd project', 'bundle install', 'rake test' ) +# Execute as sudo +session.sudo("whoami") + # Execute with time limit (10s) begin session.with_timeout(10) do session.run('some long job') end @@ -162,9 +165,15 @@ # Rest will be recorded s.run("git clone git://github.com/sosedoff/net-ssh-session.git") s.run("bundler install --path .") s.close +``` + +You can also disable histroy for the whole session: + +```ruby +Net::SSH::Session.new(host, user, password, :history => false) ``` ## Credits Library code was extracted and modified from multiple sources: \ No newline at end of file