sonOS Sierra nutrients SSH /SH from in Keychain / PubkeyAcceptedKeyTypes ?

The administrators of server / developing possessors of iMac orMacBook, had a little surprise after launching the new Sierra macOS.
DSS SSH Key used to authenticate without password on servers or other systems that require Privatekeys / Publickeys, are no longer retained in Sierra macOS, which comes with openSSH 7. Even if the key was added, after restarting the system, to the attempt to authenticate in the terminal, we will be welcomed by the message:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

By default, adding a key in keychain It is done both in OS X and in maccos, through the command line: “ssh-add -K <key>” executed in Terminal. Until the launch of Macos Sierra, SSH Keys were withheld in Keychain, with the simple SSH/SFTP authentication command at servers whose keys were saved. Unfortunately, this order no longer works, and “ssh-add -K” He has no value on Macos Sierra. This order will have to be executed in Terminal After each restart or disturbance on the operating system, as the SSH Key is no longer saved in macOS Keychain.

However, there are solutions. Adding a mini script .plist in ~/Library/LaunchAgents/, to execute the order line ssh-add in stratup, when starting the system.
Details and discussions on this topic can be found at the address this.
Saving SSH keys in macOS Sierra Keychain.

Passionate about technology, I write with pleasure on stealthsetts.com starting with 2006. I have a rich experience in operating systems: Macos, Windows and Linux, but also in programming languages ​​and blogging platforms (WordPress) and for online stores (WooCommerce, Magento, Presashop).

Home Your source of IT tutorials, useful tips and news. sonOS Sierra nutrients SSH /SH from in Keychain / PubkeyAcceptedKeyTypes ?
Leave a Comment