From: Thai Wood Date: 2013-03-25T10:33:00+09:00 Subject: Re: Can't run sudo under ssh.exec! D. Deryl Downey wrote in post #1103052: > Only problem with that is that then the password would be in the shell > history file. Better to either use the sudoers or ln -s the history file > to > /dev/null You're absolutely right, which is why I don't recommend either solution which I should have been more explicit about. A symlink is a great work around too, or if history usage was still desired, cat /dev/null > ~/.bash_history could serve as well. -- Posted via http://www.ruby-forum.com/.