LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-02-2015, 11:47 PM   #1
prudra
Member
 
Registered: Dec 2010
Location: Kolkata, India
Distribution: Now only Debian Stable Mate DE on laptop.
Posts: 68
Blog Entries: 1

Rep: Reputation: 8
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.

Last edited by prudra; 05-04-2015 at 10:35 AM. Reason: Trying to mark it as solved.
 
Old 05-03-2015, 04:22 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Quote:
Originally Posted by prudra View Post
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 View Post
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?
 
Old 05-04-2015, 10:32 AM   #3
prudra
Member
 
Registered: Dec 2010
Location: Kolkata, India
Distribution: Now only Debian Stable Mate DE on laptop.
Posts: 68

Original Poster
Blog Entries: 1

Rep: Reputation: 8
Quote:
Originally Posted by unSpawn View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with file associations (Debian Jessie) lucmove Debian 13 11-09-2015 06:54 PM
file time stamp is wrong with ssh file transfer cy163 Linux - Newbie 8 05-18-2008 01:40 AM
file transfer over ssh? jme Linux - Software 5 11-13-2006 01:30 AM
File transfer with SSH? Baix Linux - Newbie 5 01-28-2005 06:24 PM
ssh file transfer? Apostasy Linux - Newbie 11 07-30-2004 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration