On Thu, Aug 20, 2015 at 02:16:53PM +0000, you (marco) sent the following to [smartos-discuss] : > On Tue, Aug 18, 2015 at 11:05:38AM -0700, you (Alex Wilson) sent the > following to [smartos-discuss] : > > > marco <[email protected]> wrote: > > > > Has anyone been able to use pubkey authentication to authenticate to > this OpenSSH 7 "release" of SmartOS ? > I've generated a new keypair (4096 bits, type rsa) on MacOS (ssh-keygen > -b 4096) and stored the contents of ~foo/.ssh/id_rsa.pub to > /root/.ssh/authorized_keys (and cleared the previous contents of my > former dsa key). > I've deleted all the identities from ssh-agent using ssh-add -D on my > Mac and added only the newly generated DSA key. > > scarlett% ssh-add -l > 4096 6a:76:86:b8:70:06:86:22:c5:7d:6f:bb:70:e7:c8:4b id_rsa (RSA) > > I've even restarted ssh on SmartOS after these changes but when I try to > ssh into the SmartOS machine it still falls back to keyboard > authentication instead of keys. > I'm at a loss what to do to get ssh pubkey auth to work.
Never mind, I forgot to write out the /root/.ssh/authorized_keys file. Contents now match with my pub key on my mac and auth works. -- Marco van Lienen -- Unix SysAdmin -- http://lordsith.net/ https://keybase.io/scarcry , GnuPG id: 8580E6CB "The Tuck Pendleton machine...zero defects." ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
