in reply to Re: getcwd failed
in thread getcwd failed

I cannot reproduce the issue. After I exited the remote shell and re-login, the script works fine...