<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sftp error - Couldn't canonicalise: Permission denied in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006307#M750321</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please look at your syslog.log file for explanation.&lt;BR /&gt;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. &lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
    <pubDate>Wed, 25 Jun 2003 08:16:57 GMT</pubDate>
    <dc:creator>David_246</dc:creator>
    <dc:date>2003-06-25T08:16:57Z</dc:date>
    <item>
      <title>sftp error - Couldn't canonicalise: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006302#M750316</link>
      <description>I can ssh into an HPUX 10.20 box with no problems but when I try to use sftp for certain user accounts I get the following error.&lt;BR /&gt;&lt;BR /&gt;Couldn't canonicalise: Permission denied&lt;BR /&gt;Need cwd&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Tue, 24 Jun 2003 20:58:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006302#M750316</guid>
      <dc:creator>Unix Admin</dc:creator>
      <dc:date>2003-06-24T20:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: sftp error - Couldn't canonicalise: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006303#M750317</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You said it worked for certain users.&lt;BR /&gt;&lt;BR /&gt;See if the local id of the user matches id on the remote system.&lt;BR /&gt;&lt;BR /&gt;Do not set the permissions to 777. ssh will stop working completely if you set the parameter "StrictModes Yes".&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 24 Jun 2003 21:39:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006303#M750317</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-06-24T21:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: sftp error - Couldn't canonicalise: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006304#M750318</link>
      <description>Hi Sridhar,&lt;BR /&gt;&lt;BR /&gt;Thanks for replying. I currently have the "Strict modes" set to "no".  &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;-Stephen</description>
      <pubDate>Tue, 24 Jun 2003 22:22:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006304#M750318</guid>
      <dc:creator>Unix Admin</dc:creator>
      <dc:date>2003-06-24T22:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: sftp error - Couldn't canonicalise: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006305#M750319</link>
      <description>Hi Stephen,&lt;BR /&gt;&lt;BR /&gt;From Steven:&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;There is a folder under the user called .ssh/&lt;BR /&gt;&lt;BR /&gt;The correct permission on this folder are rwx for the user who owns it(read write execute).&lt;BR /&gt;&lt;BR /&gt;There should be no access to users outside the group and r_x to other users in the group&lt;BR /&gt;&lt;BR /&gt;ls -la .ssh/&lt;BR /&gt;&lt;BR /&gt;drwxr-x---&lt;BR /&gt;&lt;BR /&gt;The files in the directory are very important and the permissions MUST be correct or you get errors.&lt;BR /&gt;&lt;BR /&gt;authorized_keys -rw-r--r--&lt;BR /&gt;id_dsa          -rw-------&lt;BR /&gt;id_dsa.pub      -rw-r--r--&lt;BR /&gt;knwown_hosts    -rw-r--r--&lt;BR /&gt;&lt;BR /&gt;Anything wrong here will explain your situation precisely.&lt;BR /&gt;&lt;BR /&gt;To keep ssh(Secure Shell) and its other secure components secure permissions must be correct.&lt;BR /&gt;&lt;BR /&gt;Check the permission differences in this folder on the two home directories and you will find the mysterious answer to this problem.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jun 2003 23:15:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006305#M750319</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-06-24T23:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: sftp error - Couldn't canonicalise: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006306#M750320</link>
      <description>I've not seen this on HP, but on Solaris/Veritas systems. If it's under a discrete mount point, unmount the filesystem, and chmod 755 the mountpoint. Then remount the filesystem. There seems to be an issue about which set of permissions Veritas understands.</description>
      <pubDate>Wed, 25 Jun 2003 07:57:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006306#M750320</guid>
      <dc:creator>Midrange Systems</dc:creator>
      <dc:date>2003-06-25T07:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: sftp error - Couldn't canonicalise: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006307#M750321</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please look at your syslog.log file for explanation.&lt;BR /&gt;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. &lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Regs David</description>
      <pubDate>Wed, 25 Jun 2003 08:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006307#M750321</guid>
      <dc:creator>David_246</dc:creator>
      <dc:date>2003-06-25T08:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: sftp error - Couldn't canonicalise: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006308#M750322</link>
      <description>I have reverified the permissions of the users home directory and it's contents in the .ssh directory under both mount points and they are identical.  The next thing to try will be to reset the direcory permission for the "bad" mount point.  I will have to wait until the sysadmin for that box can do this for me which could be several days since this is a heavily used dev box and the mount point in question is where all the homes are located.  I will definitely post back the results.&lt;BR /&gt;&lt;BR /&gt;-Stephen</description>
      <pubDate>Wed, 25 Jun 2003 15:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006308#M750322</guid>
      <dc:creator>Stephen Garcila</dc:creator>
      <dc:date>2003-06-25T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: sftp error - Couldn't canonicalise: Permission denied</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006309#M750323</link>
      <description>Midrange Systems,&lt;BR /&gt;&lt;BR /&gt;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".&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help everyone.&lt;BR /&gt;&lt;BR /&gt;-Stephen</description>
      <pubDate>Wed, 25 Jun 2003 19:47:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-error-couldn-t-canonicalise-permission-denied/m-p/3006309#M750323</guid>
      <dc:creator>Stephen Garcila</dc:creator>
      <dc:date>2003-06-25T19:47:19Z</dc:date>
    </item>
  </channel>
</rss>

