How to change the default SSH port in MacOS using Terminal

This is simple. Open a terminal and follow the steps below. This worked for me on MacOS 10.13.6 Open the Terminal. Run sudo vim /etc/services Enter your password Find the lines assigned to port 22, something like the image below Replace both ports 22 with your desired ssh port using a number between 1024 and […]

Macbook pro (High Sierra) overhearting and draining the battery in sleep mode

Ran in the Terminal: log show | grep “Wake reason” got: Wake reason: EC.DarkPME (Maintenance) Ran in the Terminal: sudo nvram boot-args=”darkwake=0″ and then rebooted..seems to be OK now. My MacBook Pro goes to sleep now without overheating and draining the battery. Let me know if this works for you.