‘scp’ permission issue : simple fix!

Tags: Cannot spawn scpscp errorscp permission error

Published on: July 3, 2009 by Faheem P.

‘scp’ permission issue : simple fix!


Issue:- Cannot spawn scp Permission denied
While trying to ‘scp’ files or directories between servers or machines, you may get the following error message:

Cannot spawn scp Permission denied

The fix for this error may be the simplest fix ever explained on this blog :-).  This error is generated when ‘scp’ is  executed by a non ‘root’ user. The solution is to login as ‘root’ and change the permission of ‘scp’ to 755.

execute the command

type scp

Result would be /usr/bin/scp

Now change the permission

chmod 755 /usr/bin/scp

Hey, you are done! 🙂

Category : Linux

Faheem P.

Faheem P.

Faheem enjoys learning new technologies and loves to implement cutting edge solutions. He is one of the most active member in various technical forums and is a familiar face in various brain storming sessions. He takes great pride in being an explorer and the best thing you can be sure about in his room is the backpack!!

You may also read:


Add new commentSIGN IN

Let's Connect


Your Cart

Cart is empty.

Send this to a friend