thanks, the problem is resolved.

accessing from plan9 to mac with factotum data 
        key proto=pass service=ssh server=mmac.local user=arisawa !password=XXXX
we fails:
maia% ssh mmac
ssh: auth ctl msg `ssh-userauth k arisawa <password>' for /net/ssh/clone: 
ssh-userath auth failed (not Established)
maia% 
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 
Authentication methods: publickey,keyboard-interactive
No supported authentication methods found!
maia% 

yes, we need password authentication support by sshd on mac.
just putting 
        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 
Authentication methods: publickey,password,keyboard-interactive
        Authentication by password succeeded.
Last login: Wed May 29 08:43:52 2013 from maia

-bash$ 

thanks all.

Kenji Arisawa


On 2013/05/26, at 23:00, [email protected] 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.
> 
> 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.
> 
> ++L
> 
> 


Reply via email to