Blogger Jateng

/dev/null: Permission denied & Cannot execute SCP to start transfer

Problem:

1. use bs login tp ad pesan error tiap login :
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied
-bash: /dev/null: Permission denied

2. user bs ssh & SCP. tp ga bs sftp dan upload file

pesan error : "Cannot execute SCP to start transfer. Please make sure that SCP is installed on the server and path to it is included in PATH. You may also try SFTP instead of SCP.

atau : "Cannot execute SCP to start transfer. Please make sure that SCP is installed on the server and path to it is included in PATH. You may also try SFTP instead of SCP.

solusi :
1. login sbg root,
#ls - /dev/null
cr- --- ---

/dev/nul ngaco, solusi :
#rm /dev/null
#mknod -m 0666 /dev/null c 1

1 comment for "/dev/null: Permission denied & Cannot execute SCP to start transfer"