Problem Description: when using the SCP command to copy the file to another server, an error prompt appears
Permission denied, please try again.
terms of settlement
1. Check whether the SSH tool is installed, and change the corresponding configuration H6> 1
Configuration file path: /etc/SSH/sshd_ config
Permitrootlogin no/without password
?Change to:
permitrootlogin yes
2. Check whether the permission to copy into the folder is sufficient
Check whether the folder has write permission, who is the user of the created folder and who the folder belongs to.
chmod 766 /usr/local/backup/
3. Check whether the SCP copy syntax is correct (whether the user name is correct/valid)
scp -r log [email protected] :/usr/local/backup
Please check the user name carefully
Read More:
- Make the root user login through SSH and report the error of “permission denied, please try again”
- Winscp failed to upload the file to the server, indicating permission denied with return code 3
- Permission denied error: unable to index file .vs/Trip2015/v15/Server/sqlite3/db.lock fatal: adding
- Solution to permission denied
- [PostgreSQL tutorial] · PostgreSQL error prompt: “error 42501” or “permission denied”
- Python error: permissionerror: [errno 13] detailed explanation of permission denied solution
- move_uploaded_file() failed to open stream: Permission denied
- Python error: permissionerror: [errno 13] permission denied solution details
- Android has applied for permission and still prompts open failed: eacces (permission denied)
- Linux remote copy command and not a regular file solution
- Monkey stress test (4)-adb opendir failed, Permission denied solution
- Permission error: [errno 13] permission denied: ‘… ” xxx.pyd ‘
- Solve the problem of dynamically applying for permission, but still reporting an error of open failed: eacces (permission denied)
- session_ start(): open(SESSION_ FILE, O_ Rdwr)) failed: processing of permission denied (13)
- Beeline connection hive2 reports an error permission denied
- Solution: how to set program permission as administrator permission in vs2019
- Solutions for permission denied
- Prompt SQL server error 15023 solution memo when modifying user mapping
- SCP error: not a regular file
- cifs mount error(13): Permission denied