ssh

Is it possible to stop someone not authorise, to alter the settings in terminal on my imac possibly using ssh Below is there latest


sudo systemsetup -f -setremotelogin off\n sources

I do not understand code


regards fat boy

Posted on Nov 10, 2022 8:28 PM

Reply
2 replies

Nov 10, 2022 8:38 PM in response to N.Z.fatboy

N.Z.fatboy Said:

"Is it possible to stop someone not authorise, to alter the settings in terminal on my imac possibly using ssh Below is there latest: sudo systemsetup -f -setremotelogin off\n sources I do not understand code"

-------


Aboute:

sudo systemsetup -f -setremotelogin off\n sources 


sudo means super user do: So, you're best be from here is to change your administrator account password. The Super User is the administrator user you are currently in.

Nov 13, 2022 5:23 PM in response to N.Z.fatboy

Just make sure that Remote Management is disabled in the Sharing System Preferences. There is also another setting there as well which allows remote access as well, but I forget what it is called (Screen Sharing perhaps?). IIRC the "Remote Management" option is the one which controls ssh access on a Mac.


With any NAT'ed networks, you must have a firewall configured to allow port forwarding in order to access a device from the Internet. Of course if your modem or router is compromised, then all bets are off. Same goes if any networked device on your local network is compromised.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

ssh

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.