<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">As for password-less, you don't need MacPorts sshd for that.  Some OS versions back, that just worked.  Now you have to do a little bit to make it work (outgoing - it still works incoming, with the usual measures, give or take something odd in /etc/ssh/sshd_config).<div class=""><br class=""></div><div class="">Here's some discussion about that:</div><div class=""><a href="https://apple.stackexchange.com/questions/48502/how-can-i-permanently-add-my-ssh-private-key-to-keychain-so-it-is-automatically" class="">https://apple.stackexchange.com/questions/48502/how-can-i-permanently-add-my-ssh-private-key-to-keychain-so-it-is-automatically</a><br class=""><div><br class=""></div><div>Here, as I recall, is what I did about it (aside from whatever step from the discussion above added the keys to my macOS Keychain):</div><div><br class=""></div><div>sh-3.2$ cat ~/Library/LaunchAgents/local.ssh-add.plist<br class=""><?xml version="1.0" encoding="UTF-8"?><br class=""><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "<a href="http://www.apple.com/DTDs/PropertyList-1.0.dtd" class="">http://www.apple.com/DTDs/PropertyList-1.0.dtd</a>"><br class=""><plist version="1.0"><br class=""><dict><br class="">    <key>Label</key><br class="">    <string>ssh-add-a</string><br class="">    <key>ProgramArguments</key><br class="">    <array><br class="">        <string>ssh-add</string><br class="">        <string>-A</string><br class="">    </array><br class="">    <key>RunAtLoad</key><br class="">    <true/><br class=""></dict><br class=""></plist><br class=""><br class=""></div><div>And of course either</div><div>launchctl load -w ~/Library/LaunchAgents/local.ssh-add.plist</div><div>or log out and log back in again (the latter actually being a better test, since that's what needs to work in the long run).</div><div><br class=""></div><div>I don't swear that I didn't forget something - I just look up stuff like this, fix it, and unfortunately don't always take notes on what I did, so this is reconstruction after-the-fact.</div><div><br class=""></div><div>Oh, and just to mess with people's minds on something marginally related, it's not too hard to compile and configure Linux pam-ssh-agent-auth for macOS (or even for Solaris), allowing for example that you can set it up so that if "ssh account@localhost" works with keys, then "su account" also works with keys; which might be convenient for some scripts; but of course NOT scripts run from cron (which couldn't count on your ssh-agent running, let alone being able to contact it). As I recall, it takes a little fiddling, because you just want that one module rather than all of them to build, and because Linux went their own way a bit with PAM (even though Sun invented it), so there are some minor incompatibilities to work around; but nothing a little doggedness won't get past.</div><div><br class=""></div><div><blockquote type="cite" class=""><div class="">On Sep 3, 2018, at 04:06, Bill Parducci <<a href="mailto:bill@parducci.net" class="">bill@parducci.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">System Settings -> Sharing -> Remote Access <br class=""><br class="">...or something close to that will dis/enable native sshd in OSX (not on my laptop, so may be a wee bit imprecise). <br class=""><br class=""><blockquote type="cite" class="">On Sep 2, 2018, at 10:04 PM, James <<a href="mailto:jam@tigger.ws" class="">jam@tigger.ws</a>> wrote:<br class=""><br class="">Hi All<br class="">since I’ve been unable to solve passwd-less login on High Sierra I installed port openssh.<br class=""><br class="">All good except I have  two daemons waiting on port 22. I can easily find the LaunchDaemon for openssh but I cannot fathom how apple run their ssh daemon, or even what it is called.<br class=""><br class="">I miss linux’s netstat -anp.<br class=""><br class="">Can anyone help<br class="">thanks<br class="">James<br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>