{"id":1678,"date":"2020-02-26T20:39:24","date_gmt":"2020-02-26T18:39:24","guid":{"rendered":"http:\/\/lisas.de\/~alex\/?p=275"},"modified":"2026-03-30T22:41:23","modified_gmt":"2026-03-30T20:41:23","slug":"sshd-again-on-lineage-os-17-1","status":"publish","type":"post","link":"https:\/\/lisas.de\/luges\/index.php\/2020\/02\/26\/sshd-again-on-lineage-os-17-1\/","title":{"rendered":"SSHD again\u2026 on Lineage OS 17.1"},"content":{"rendered":"\n<p>I finally got around to looking into why my rsync automation fails with my new Lineage OS 17.1 device. The <a href=\"https:\/\/lisas.de\/~alex\/?p=237\">old instructions<\/a> worked like charm. Sshd will start, but the <em>shell<\/em> user will receive a <em>permission denied<\/em> after successful authentication.<\/p>\n<p>It turns out that sshd is unhappy with the file ownership or modes for <code>\/data<\/code>. Now I didn&#8217;t want to mess with those nor did I want to move the <code>ssh<\/code> directory to another place so I cheated and told sshd to relax by adding:<\/p>\n<p><code>StrictModes no<\/code><\/p>\n<p>to <code>sshd_config<\/code>. Probably sshd dislikes that <code>\/data<\/code> is owned by <em>system<\/em> and not <em>shell<\/em> nor <em>root<\/em> &#8211; allowing the <em>system<\/em> user to erase the <code>ssh<\/code> directory. Seems like one security concept is ruining another\u2026 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally got around to looking into why my rsync automation fails with my new Lineage OS 17.1 device. The old instructions worked like charm. Sshd will start, but the shell user will receive a permission denied after successful authentication. It turns out that sshd is unhappy with the file ownership or modes for \/data. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1678","post","type-post","status-publish","format-standard","hentry","category-luges"],"_links":{"self":[{"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/posts\/1678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/comments?post=1678"}],"version-history":[{"count":1,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/posts\/1678\/revisions"}],"predecessor-version":[{"id":1679,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/posts\/1678\/revisions\/1679"}],"wp:attachment":[{"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/media?parent=1678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/categories?post=1678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lisas.de\/luges\/index.php\/wp-json\/wp\/v2\/tags?post=1678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}