Anyone know how to disable ssh all together? Click on stop remote login via security/firewall settings simply isn't enough...while the current ssh version 1 are low security risk, I wish to remove them anyways I read in the past there
was a sudo command to remove ssh 1, if so please direct me in doing so...
b
macbook pro,
Mac OS X (10.4.11),
2.2ghz intel core 2 duo 2gb ram
it does what it is supposed to... it stops it. What im saying is, there is a known security issue with version 1 of ssh, there is a command via terminal... I just cant remember...
You don't have to disable ssh if your concern is the vulnerability in ssh protocol 1 (not version; 10.4.11 ships with OpenSSH version 5.1p1; you can check this with a "ssh -v" at a Terminal prompt)
You can disable Protocol 1 and still keep ssh running, only accepting the safer Protocol 2 connections:
Using your favorite text editor, open this file; (always a good idea to save a clean backup copy)
/etc/sshd_config
Look for the following line; you can't miss it; it's the second line after the comments;
*#Protocol 2,1*
Edit that line so it looks like this (remove the hash sign and erase the number 1);
*Protocol 2*
Save your changes, close the file.
That's it. Next time you reboot or restart the ssh daemon, it'll only be using Protocol 2.
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.
remove ssh version 1
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.