Enable ssh by default

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

qwe852

New Around Here
Hi,

Normally, users need to enable SSH in the Web GUI after resetting the device.

Is it possible to modify some config before compiling the firmware and make it enabled by default?


Thanks.
 

slidermike

Regular Contributor
I think merlin would be the final say on the subject but there are two things that come to my mind when reading your post.
#1 Some of the code is closed source so compiling yourself seems unlikely. (dont quote me on this point)
#2 Opening anything extra beyond what is needed initially is considered weakening of the device security. Especially if it sits public facing. It is defaulted to a more secure state as it is.
 

AndreiV

Very Senior Member
Is it possible to modify some config before compiling the firmware and make it enabled by default?

Obviously the answer is no. A reset is just that, a total reset to factory defaults.
 

RMerlin

Asuswrt-Merlin dev
Hi,

Normally, users need to enable SSH in the Web GUI after resetting the device.

Is it possible to modify some config before compiling the firmware and make it enabled by default?


Thanks.
router/shared/defaults.c contains the default nvram values. However unless you are an ISP who needs to personalize some settings for support purposes, enabling SSH by default might be considered a security risk.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top