From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) From: arisawa In-Reply-To: Date: Wed, 29 May 2013 09:47:34 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <4664AD68-E14B-4FC0-8066-FD19B69C7B85@ar.aichi-u.ac.jp> References: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] ssh to osx Topicbox-Message-UUID: 5d452a20-ead8-11e9-9d60-3106f5b1d025 thanks, the problem is resolved. accessing from plan9 to mac with factotum data=20 key proto=3Dpass service=3Dssh server=3Dmmac.local user=3Darisawa = !password=3DXXXX we fails: maia% ssh mmac ssh: auth ctl msg `ssh-userauth k arisawa ' for = /net/ssh/clone: ssh-userath auth failed (not Established) maia%=20 where maia is one of my plan9 hosts and mmac is a mac mini. the log message in /var/log/secure.log on the mac is May 27 07:19:30 mmac sshd[71497]: fatal: Read from socket failed: = Connection reset by peer I found ssh2 shows more graceful message as shown below. maia% ssh2 mmac connect is 0 Fingerprint: 80 0A FC 62 42 E1 22 5B 81 EE 2D 21 B2 BC EE 75=20 Authentication methods: publickey,keyboard-interactive No supported authentication methods found! maia%=20 yes, we need password authentication support by sshd on mac. just putting=20 PasswordAuthentication yes to /etc/sshd_config is enough to be authenticated. now I can enter mac using ssh2 maia% ssh2 mmac connect is 0 Fingerprint: 80 0A FC 62 42 E1 22 5B 81 EE 2D 21 B2 BC EE 75=20 Authentication methods: publickey,password,keyboard-interactive Authentication by password succeeded. Last login: Wed May 29 08:43:52 2013 from maia -bash$=20 thanks all. Kenji Arisawa On 2013/05/26, at 23:00, lucio@proxima.alt.za wrote: >> the mac only enables "keyboard interactive" auth and not "password" = auth, >> these are very similar but different. you need to an option in a = config file >> on the mac to enable password auth. >=20 > Based on the Unixes I'm familiar with, the sshd config file is in > /etc/ssh and is unusual in that it does not have the more conventional > .conf extension. It is specifically for SSHD, the server. Which > needs to be restarted if the config is changed. >=20 > ++L >=20 >=20