<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ssh group writable home directory &#8211; Harry Jackson</title>
	<atom:link href="http://127.0.0.1:8090/tag/ssh-group-writable-home-directory/feed" rel="self" type="application/rss+xml" />
	<link>http://127.0.0.1:8090</link>
	<description>Parent, Painter, Programmer</description>
	<lastBuildDate>Mon, 15 Aug 2005 02:04:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>ssh Notes</title>
		<link>http://127.0.0.1:8090/ssh_notes.htm</link>
					<comments>http://127.0.0.1:8090/ssh_notes.htm#respond</comments>
		
		<dc:creator><![CDATA[harry]]></dc:creator>
		<pubDate>Mon, 15 Aug 2005 02:04:46 +0000</pubDate>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[ssh group writable home directory]]></category>
		<guid isPermaLink="false">http://www.hjackson.org/wp/?p=282</guid>

					<description><![CDATA[I had an odd problem using ssh that stumped me for a bit. Using ssh -vvv user@host Cutting out all the fluf we see that normally (when using a public key) we get something like the following &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; debug1: Next authentication method: publickey debug1: Trying private key: /home/user/.ssh/identity debug3: no such identity: /home/user/.ssh/identity debug1: Trying &#8230; <p class="link-more"><a href="http://127.0.0.1:8090/ssh_notes.htm" class="more-link">Continue reading<span class="screen-reader-text"> "ssh Notes"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>I had an odd problem using ssh that stumped me for a bit.<br />
Using ssh -vvv user@host<br />
Cutting out all the fluf we see that normally (when using a public key) we get something like the following<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
debug1: Next authentication method: publickey<br />
debug1: Trying private key: /home/user/.ssh/identity<br />
debug3: no such identity: /home/user/.ssh/identity<br />
debug1: Trying private key: /home/user/.ssh/id_rsa<br />
debug3: no such identity: /home/user/.ssh/id_rsa<br />
debug1: Offering public key: /home/user/.ssh/id_dsa<br />
debug3: send_pubkey_test<br />
debug2: we sent a publickey packet, wait for reply<br />
debug1: Server accepts key: pkalg ssh-dss blen 433<br />
debug2: input_userauth_pk_ok:<br />
debug3: sign_and_send_pubkey<br />
debug1: read PEM private key done: type DSA<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
I noticed that I had changed the perms on the users directory from<br />
drwxr-xr-x  33 user   user   2048 Aug 14 18:57 user<br />
To<br />
drwxrwxr-x  33 user   user   2048 Aug 14 18:57 user<br />
This meant that I lost access using public keys. The verbose output with this error is as follows.<br />
&#8230;&#8230;&#8230;&#8230;.<br />
debug3: authmethod_is_enabled publickey<br />
debug1: Next authentication method: publickey<br />
debug1: Trying private key: /home/user/.ssh/identity<br />
debug3: no such identity: /home/user/.ssh/identity<br />
debug1: Trying private key: /home/user/.ssh/id_rsa<br />
debug3: no such identity: /home/user/.ssh/id_rsa<br />
debug1: Offering public key: /home/user/.ssh/id_dsa<br />
debug3: send_pubkey_test<br />
debug2: we sent a publickey packet, wait for reply<br />
debug1: Authentications that can continue: publickey,password,keyboard-interactive<br />
debug2: we did not send a packet, disable method<br />
debug3: authmethod_lookup keyboard-interactive<br />
debug3: remaining preferred: password<br />
debug3: authmethod_is_enabled keyboard-interactive<br />
&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
Removing group writable permissions from the users home directory solved the problem.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://127.0.0.1:8090/ssh_notes.htm/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
