LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh file transfer on debian jessie (https://www.linuxquestions.org/questions/linux-networking-3/ssh-file-transfer-on-debian-jessie-4175541455/)

prudra 05-02-2015 11:47 PM

ssh file transfer on debian jessie
 
After installing debian-8.0.0 on my 2 laptops file transfer between them via sftp is now permitted only as root.
When I try it as user I'm told that 'Permission denied'. What shall I do make such transfers possible?

I posted this ptoblem on debian users' forum yet to no avail. May be
help will come from a larger community.

unSpawn 05-03-2015 04:22 AM

Quote:

Originally Posted by prudra (Post 5356878)
I posted this ptoblem on debian users' forum yet to no avail. May be help will come from a larger community.

You're free to post your question anywhere you like any time but note you only posted your question there yesterday.


Quote:

Originally Posted by prudra (Post 5356878)
After installing debian-8.0.0 on my 2 laptops file transfer between them via sftp is now permitted only as root.
When I try it as user I'm told that 'Permission denied'. What shall I do make such transfers possible?

You shall first check the basics:
- Did you read the Debian 8 changelog about any changes in behaviour with respect to authentication methods and SSH?
- Did you customize any authentication methods and sshd_config or are they stock?
- Does the unprivileged user exist, does it have a valid shell and password?
- Does the unprivileged users ~/.ssh directory exist and does it, and the files therein, have the right ownership and permissions?
- Was the public key added to unprivileged users ~/.ssh/authorized_keys?
- Does the unprivileged user use pubkey auth and not a password?
- Are there any access restrictions?
- Do system or daemon log files show clues?
- Is there anything you forgot to add to your initial post we should know about?

prudra 05-04-2015 10:32 AM

Quote:

Originally Posted by unSpawn (Post 5356936)
You're free to post your question anywhere you like any time but note you only posted your question there yesterday.



You shall first check the basics:
- Did you read the Debian 8 changelog about any changes in behaviour with respect to authentication methods and SSH?
- Did you customize any authentication methods and sshd_config or are they stock?
- Does the unprivileged user exist, does it have a valid shell and password?
- Does the unprivileged users ~/.ssh directory exist and does it, and the files therein, have the right ownership and permissions?
- Was the public key added to unprivileged users ~/.ssh/authorized_keys?
- Does the unprivileged user use pubkey auth and not a password?
- Are there any access restrictions?
- Do system or daemon log files show clues?
- Is there anything you forgot to add to your initial post we should know about?

Actually .ssh/ was not the culprit.
The culprit was the directory/ to which I was trying to write the files. Its owner and group was root. After changing these to user everything is fine. Thanks.


All times are GMT -5. The time now is 10:49 AM.