Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual SCP works, sync download works, sync upload permission denied #523

Closed
ahtarr opened this issue Jan 28, 2021 · 0 comments
Closed

Manual SCP works, sync download works, sync upload permission denied #523

ahtarr opened this issue Jan 28, 2021 · 0 comments

Comments

@ahtarr
Copy link

ahtarr commented Jan 28, 2021

I can manually move files to my remote system using (details changed obviously):

scp ./directory/index.js [email protected]:/path/to/directory/index.js

I am prompted for my password, I enter it, and the transfer proceeds.

My .remote-sync.json looks like this:

{
"logger": {
"title": "Remote Sync"
},
"transport": "scp",
"hostname": "10.20.30.40",
"username": "myname",
"password": "*****!",
"target": "/path/to/directory",
"ignore": [
".remote-sync.json"
],
"uploadOnSave": false,
"useAtomicWrites": false,
"deleteLocal": false,
"watch": [],
"port": "22"
}

Downloading succeeds. Uploading fails with the message "Error: Permission denied".

Any suggestions?

Thanks.

@ahtarr ahtarr closed this as completed Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant