Edit file with Stack Script

How can I edit files with Stack Scripts to do things like configure SSH to only use key files and disable remote root login?

1 Reply

Use sed http://www.gnu.org/software/sed/manual/sed.html

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct