You can change the default SSH configuration.


Log in to the service console and acquire root privileges.


Change to the /etc/ssh directory.


Use a text editor to perform any of the following actions in the sshd_config file.

To allow remote root login, change the setting to yes in the following line.

PermitRootLogin no

To revert to the default SSH protocol (Version 1 and 2), comment out the following line.

Protocol 2

To revert to the 3DES cipher and other ciphers, comment out the following line.

Ciphers aes256-cbc,aes128-cbc

To disable Secure FTP (SFTP) on SSH, comment out the following line.

Subsystem ftp /usr/libexec/openssh/sftp-server

Save your changes and close the file.


Run the following command to restart the SSHD service.

service sshd restart