I'm trying to use sftp and the openssh FAQ suggest that it is not possible to do this if the shell initialization produces output for non-interactive session and to try ssh yourhost /bin/true in order to test it. I did the following command and the following message came out of my terminal: shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory Does ssh trying to access something? I don't have anything in my .profile and no .*rc files. Thanks in advance.
On Wed, 22 Sep 2004, Jacinto, Alex G (GE Energy) wrote:> > I'm trying to use sftp and the openssh FAQ suggest that it is not possible > to do this if the shell initialization produces output for non-interactive > session and to try ssh yourhost /bin/true in order to test it. > > I did the following command and the following message came out of my > terminal: > > shell-init: could not get current directory: getcwd: cannot access parent > directories: No such file or directory >Is this coming from the shell you are running properly? Looks like there is a problem with the HOME directory. - Ben
> I did the following command and the following message came out of my > terminal: > > shell-init: could not get current directory: getcwd: cannot access parent > directories: No such file or directory >Is this coming from the shell you are running properly? Looks like there is a problem with the HOME directory. - Ben I can successfully login and the error message will come up before the motd and the prompt. What sort of problem will there be in HOME directory?