Help needed for scp error.
I tried to scp a file from a server to another with scp command, but I receive a error message "Non-Interactive Shell Disallowed!". I do not know what did I do wrong, please assist.
I have done this before on other servers and have never faced this error.
Both are AIX boxes version 6100-07-08-1339
Assume hostname for source server is AAA and hostname for destination server is BBB and the file I wanted to copy over is /home/ABC/test.sh
Command I used
> cd /home/ABC
> scp test.sh BBB:/home/ABC
I have entered correct password and the error appeared after the password.
Please help.
-- kwliew999
---------- Post updated at 11:16 AM ---------- Previous update was at 09:22 AM ----------
Additional info :
When I tried to use "root" to perform the scp, it works.
Is there anything to do with user profile which set my profile as "non-interactive shell"??
Thanks.