pedz
Registered
By accident I discovered the following:
Apple -> Preferences -> Sharing -> Remote Logic
Click "Only these users" but then don't add any users.
Now if you try to ssh into the machine, it just disconnects -- no error. If you do "ssh -v -v -v ...." you get stuff like you would expect but nothing really helpful in diagnosing the issue. I also started sshd -d -d -d on a different port and looked at its messages. Nothing really points to the fact that no users are authorized to ssh into the machine.
So, if you can not ssh into your machine and all the file permissions and other things are correct, go back and double check this setting and make sure either "All Users" is set or the user you are trying to use is listed in the "Only these users" list.
Hopefully this will help someone in the future
Perry
Apple -> Preferences -> Sharing -> Remote Logic
Click "Only these users" but then don't add any users.
Now if you try to ssh into the machine, it just disconnects -- no error. If you do "ssh -v -v -v ...." you get stuff like you would expect but nothing really helpful in diagnosing the issue. I also started sshd -d -d -d on a different port and looked at its messages. Nothing really points to the fact that no users are authorized to ssh into the machine.
So, if you can not ssh into your machine and all the file permissions and other things are correct, go back and double check this setting and make sure either "All Users" is set or the user you are trying to use is listed in the "Only these users" list.
Hopefully this will help someone in the future
Perry