Cannot Access Parent Directories Problem Gssh error : getcwd: cannot access parent directories: No such file or directory Error message shell-init: error retrieving current directory:getcwd: cannot access parent directories: No such file or directory Diagnosis This error indicates that the getcwd command cannot locate the current working directory Workaround Cd to any other existing folder and execute the command again.