The ssh from Ventura 13.3.1 is rather old (OpenSSH_9.0p1); the version I installed from Homebrew is OpenSSH_9.3p1.
The problem is: How can I achieve that sshd from Homebrew is run on startup instead of that of Ventura?
I did some digging but I just can't find the .plist that runs it. Can anybody tell me the location?
I know that I have to temporarily disable SIP for the modification; that's no problem for me.
Placing a .plist in ~/Library/LaunchAgents is not an option because I want to keep port 22.
launchdis the parent ofsshd? That is not correct.launchdmanages the starting of daemons and agents much like the oldrc.din FreeBSD orinetdfor Linux or the SMF framework in Solaris. It just launches jobs,sshdis not dependent nor a child process of it. – Allan Apr 09 '23 at 16:12launchdand creating a .plist – Allan Apr 09 '23 at 16:15launchdand everything will continue to run.launchdwas just the bootstrapper. If you want to run it as root and have it available at all times like the nativesshd, you need to create a LaunchDaemon. – Allan Apr 09 '23 at 16:51sshdis started by/System/Library/LaunchDaemons/ssh.plistwhen something accesses port 22 via tcp. – Marc Wilson Apr 09 '23 at 17:23