- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sftp error - Couldn't canonicalise: Permission den...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2003 01:58 PM
тАО06-24-2003 01:58 PM
sftp error - Couldn't canonicalise: Permission denied
Couldn't canonicalise: Permission denied
Need cwd
It seems to me that this refers to a permission problem with the accounts home directory but I tried that angle and opened it completely (777) with the same result. Any insight into this problem will be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2003 02:39 PM
тАО06-24-2003 02:39 PM
Re: sftp error - Couldn't canonicalise: Permission denied
You said it worked for certain users.
See if the local id of the user matches id on the remote system.
Do not set the permissions to 777. ssh will stop working completely if you set the parameter "StrictModes Yes".
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2003 03:22 PM
тАО06-24-2003 03:22 PM
Re: sftp error - Couldn't canonicalise: Permission denied
Thanks for replying. I currently have the "Strict modes" set to "no".
Another odd thing is that if I change the users home directory from one mount point to another mount point the sftp works. I verified the permissions of the home directory in both locations and they are exactly the same.
-Stephen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2003 04:15 PM
тАО06-24-2003 04:15 PM
Re: sftp error - Couldn't canonicalise: Permission denied
From Steven:
Something is different. If all you have to do is change the home directory for the user to get them to work, then here is what to check.
There is a folder under the user called .ssh/
The correct permission on this folder are rwx for the user who owns it(read write execute).
There should be no access to users outside the group and r_x to other users in the group
ls -la .ssh/
drwxr-x---
The files in the directory are very important and the permissions MUST be correct or you get errors.
authorized_keys -rw-r--r--
id_dsa -rw-------
id_dsa.pub -rw-r--r--
knwown_hosts -rw-r--r--
Anything wrong here will explain your situation precisely.
To keep ssh(Secure Shell) and its other secure components secure permissions must be correct.
Check the permission differences in this folder on the two home directories and you will find the mysterious answer to this problem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 12:57 AM
тАО06-25-2003 12:57 AM
Re: sftp error - Couldn't canonicalise: Permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 01:16 AM
тАО06-25-2003 01:16 AM
Re: sftp error - Couldn't canonicalise: Permission denied
Please look at your syslog.log file for explanation.
I had the same problem when ssh to another user and it's permission was set (temporarily) to 777. The syslog.log file told me very clear that these permissions were not allowed.
The point about the mounted nfs FS is totaly new for me, but of course can be the case too. Please let us know what the real problem was. I am very interested in the NFS mount option.
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 08:07 AM
тАО06-25-2003 08:07 AM
Re: sftp error - Couldn't canonicalise: Permission denied
-Stephen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 12:47 PM
тАО06-25-2003 12:47 PM
Re: sftp error - Couldn't canonicalise: Permission denied
I just got done testing out your suggestion on another one of our 10.20 systems and I've been able to recreate the problem. I unmounted a filesystem, set the permissions to 750 on the mount point directory, then remounted. Even though the mounted filesystems permissions were correct I could not then sftp into the user account. I then repeated the process and set the directory permissions back and the sftp then worked fine. That solution can be packed away in the closet marked "obscure".
Thanks for all your help everyone.
-Stephen