From: Jamis Buck Date: 2005-08-12T06:16:51+09:00 Subject: Re: Unable to change password using Net::SSH On Aug 8, 2005, at 7:56 PM, Amit Chitre wrote: > Running on WinXP, ssh to Solaris. Tried using the shell as well as > popen3 channel method but doesn't work... just sits there spinning.. > Let me know what I'm doing wrong, if it's even allowed Amit, I'm not sure why the methods you tried aren't working, but you might want to try just using channels directly. You can look at the source of the Command object (in SwitchTower) for an example that does this-- you might even be able to grab the "open_channels" method of the object and tweak it slightly for your purposes: http://dev.rubyonrails.com/file/trunk/switchtower/lib/switchtower/ command.rb Good luck, Jamis