Topic: Executing Password Change over Ruby Net-SSH
I am looking to execute a password change over Net-ssh and this code
seems to hang:
Net::SSH.start(server_ip, "user", :verbose => :debug ) do |session|
session.process.popen3("ls") do |input, output, error|
["old_pass","test", "test"].each do |x|
I know the connection works because using a simple exec I can get the
output from ls on the remote server, but this hangs.
The last message from debug is that the public key succeeded.