PDA

View Full Version : SCP command through ITIM does not work



satish_gauns
04-02-2010, 10:05 AM
Hi,

We have two Linux box (Machine A and Machine B). Standalone application(ITIM) running on Machine A. Target file to copy is available on Machine B.

SSH Handshaking done between Machine A and Machine B using normal user "ssh".

Standalone application running on Machine A under user "root".

Standalone application on Machine A invokes SCP command to copy the file from Machine B to Machine A. The SCP command executes successfully but file is not copied to Machine A. Message returned by SCP command is
"THIS IS A PRIVATE COMPUTER SYSTEM ---USAGE MAY BE MONITORED AND UNAUTHORIZED ACCESSOR USE MAY RESULT IN CRIMINAL OR CIVIL PROSECUTIONPermission denied, please try again.Permission denied, please try again.Permission denied (publickey,password,keyboard-interactive)."

If I manually login to Machine A and execute same SCP command I am able to copy file without any issues.

Any pointer on why invoking SCP command through standalone application give above message and file is not copied?

Thanks in Advance!

Regards,
Satish

commentero
08-30-2010, 11:41 AM
Hello there,

the situation you have is very interesting and I really want to help you out with that. Howevery I have few clarifications before I went on to give you my insights about your issue. First of all do you use a firewall? I know you are on linux but using firewall on these boxex can cause the exact issue you are encountering rigth now. Second, is this sitting on a network where you use a switch or a router? just in case you are not aware yet I have encountered several issues using a router by doing the SCP command. I am not sure what is causing the problem though but removing the router solves it rightaway.

choosehottubsdirect reviews (http://www.vidilife.com/video_play_1726087_Choosehottubsdirect_com_review. htm)
Ecommerce Conversions (http://ezinearticles.com/?Average-Ecommerce-Conversion-Rates&id=2725445)