You could try some easier path like '/' first and work your way up if that succeeds. One possibility would be some invisible characters in your path string, that can happen if you read that path from a file, for example
PS: What ahmad meant with 'Show us your code' was more along a minimal runnable script that exhibits the problem. Then someone here could run your script with a different ssh-server and report if the script basically works or not
In reply to Re: Net::OpenSSH can't change working directory
by jethro
in thread Net::OpenSSH can't change working directory
by josh803316
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |