After Sierra update: ssh public key login and application problems

I updated Mac OS X from Lion to Sierra on a Macbook pro.


Thereafter, ssh -vv with public key to Sierra fails with this output:


debug1: Next authentication method: publickey

debug1: Offering RSA public key: /Users/alba/.ssh/id_rsa

debug2: we sent a publickey packet, wait for reply

debug1: Server accepts key: pkalg ssh-rsa blen 533

debug2: input_userauth_pk_ok: fp SHA256:E9bo7Mc/wFRq8mIAk6Vum5ancAmDsUDOfVgjJHvvaSE

Connection closed by 192.168.1.12


My key has 4096 bits.

mac-de-papa% ssh-keygen -l -f ~/.ssh/id_rsa.pub

4096 SHA256:E9bo7Mc/wFRq8mIAk6Vum5ancAmDsUDOfVgjJHvvaSE alba@pc8.home (RSA)


Login to other systems works, therefore the problem is on the server side, Sierra.


Downgrading to Lion solves the ssh problem.

(This is not possible from the App store which enforces Sierra but I could do it from a clone.)


Moreover, after Sierra update, the Calendar application has dissapeared and some applications (iMovies, Pages, Numbers, Keynotes, iPhoto) that need to be updated in App store cannot be updated. Error message : "Upgrade unavailable from this Apple id" (not sic: translated from another language). Taking another id or reinstalling from recovery partition does not help.


Your hints welcome.

MacBook Pro, macOS Sierra (10.12.4), null

Posted on Apr 24, 2017 12:45 PM

Reply
3 replies

Apr 24, 2017 11:59 PM in response to Pierre Albarede

I could solve the Calendar problem as follows. In App Store: I asked for Sierra utilities install. After some clicks that I do not remember exactly, I got Sierra to reinstall on top of itself (which took hours) and eventually I recovered Calendar.


I could update Apple remote desktop without error : this proves that the update problem is not with iCloud account.

5 updates are still failing. This is no critical bug. There may be a temporary problem in the App store archive.


The ssh server problem remains.

Apr 26, 2017 6:02 AM in response to Pierre Albarede

The application update problem in App store has disappeared without my intervention.


ssh server is broken also for password authentication.


debug1: Trying private key: /Users/alba/.ssh/id_dsa

debug1: Trying private key: /Users/alba/.ssh/id_ecdsa

debug1: Trying private key: /Users/alba/.ssh/id_ed25519

debug2: we did not send a packet, disable method

debug1: Next authentication method: keyboard-interactive

debug2: userauth_kbdint

debug2: we sent a keyboard-interactive packet, wait for reply

debug2: input_userauth_info_req

debug2: input_userauth_info_req: num_prompts 1

Password:

debug1: Authentications that can continue: publickey,password,keyboard-interactive

debug2: userauth_kbdint

debug2: we sent a keyboard-interactive packet, wait for reply

debug1: Authentications that can continue: publickey,password,keyboard-interactive

debug2: userauth_kbdint

debug2: we sent a keyboard-interactive packet, wait for reply

Connection closed by fe80::34:3456:1019:1feb%en1

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

After Sierra update: ssh public key login and application problems

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.