Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Linux: SSH
(view source)
Revision as of 11:07, 28 September 2017
298 bytes added
,
11:07, 28 September 2017
→Configuration
Line 57:
Line 57:
Edit the following files to configure ssh<br />
Edit the following files to configure ssh<br />
(Message of the Day)
(Message of the Day)
−
*/etc/motd
+
*/etc/motd
(old)
+
* /etc/update-motd.d/* (new)
+
echo -e "\e[31m\\u2588\u2588\u2588\u2588\u2588\u2588\u2588\e[33m\\n\u2588\u2588\u2588\u2588\u2588\u2588\u2588\n\e[31m\\u2588\u2588\u2588\u2588\u2588\u2588\u2588\e[37m" > /etc/update-motd.d/flag
+
echo "cat /etc/update-motd.d/flag" >> /etc/update-motd.d/00-header
+
Other settings:
Other settings:
*/etc/ssh/sshd_config
*/etc/ssh/sshd_config
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version