Solved Error in scp'ing file from server to server

September 21, 2011 at 04:41:53
Specs: linux
Hi,

I have two shell scripts in serverA where one of it does ssh to serverB and runs other script over there. In this process i have scp in the second script to copy file from serverB to serverA.

I have an issue in scp'ing file from serverA to serverB.
It gives me an error :
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,gssapi-with-mic,password).
lost connection


thanks in advance


See More: Error in scping file from server to server

Report •

#1
September 22, 2011 at 12:46:20
✔ Best Answer
Try running as root.

Report •

#2
September 22, 2011 at 23:36:03
i dont have root permission/access

Report •

#3
September 23, 2011 at 07:04:05
I bet that's what the issue is though. Your user doesn't have permission.

Report •
Related Solutions


Ask Question