linux - scp error while doing scp from host to target -


while doing scp host pc(ubuntu-12.04) target board(imx6), giving following error:

#scp test.txt root@10.20.119.101:/home/root shell-init: error retrieving current directory: getcwd: cannot access parent directories: inappropriate ioctl device test.txt                                                                 100% 8599     8.4kb/s   00:00     # 

can guide fix issue.

according these texts (i googled error), happens if super-user account has default shell changed bash.

never that. bad practice change default shell root user.

see this thread on comp.unix.admin usenet forum.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -