I was trying to modify my
ssh.plist file, but as a noob I overwrote my backup file with the modified one.
I am looking for the content of the original file from the install.
Can anybody give it to me?
You can also find it at Apple's opensource.apple.com at launchd-ssh.plist:
Notice Apple uses
The plist file is located at
You can stop the server with:
You can start the server with:
Apple also uses ancient versions of programs and libraries, so there's value in upgrading. For example, both OpenSSL and OpenSSH have both been updated due to security bugs.
You have a couple of options if you want to upgrade. First, you can build and install OpenSSH yourself by following Building OpenSSH for OS X? on Super User. Second, you can use a package tool like Brew, Fink or Macports to install it.
If you use the package manager, then you will probably want to disable Apple's OpenSSH, add a new launch daemon to start the port's gear, and use the port's configuration files.