in reply to Re^2: Net::OpenSSH can't change working directory
in thread Net::OpenSSH can't change working directory
It seems that I have two different problems. The first problem is how do I get successive commands to work as if the user is inside the shell or pseudo terminal. If I used the above script and add a second capture line after the first with the command "pwd" I still see the directory as /home/user which means each command is unique to the home directory. So I guess I need to know how to combine command sets........the 2nd error is the bash cd error, but I don't see that same error with my small local script.