home_server:home_server_setup:other_services:ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
home_server:home_server_setup:other_services:ssh [2022-06-26 Sun wk25 18:46] – [Login Scripts] baumkphome_server:home_server_setup:other_services:ssh [2023-12-10 Sun wk49 13:16] baumkp
Line 1: Line 1:
 +{{tag>linux debian ubuntu ssh "ssh notes"}}
 ======SSH Notes====== ======SSH Notes======
  
Line 13: Line 13:
  
 ====Login Scripts==== ====Login Scripts====
 +====Debian====
   *''ls -la /etc/update-motd.d/'' to see the scripts that are run after the MOTD is displayed.   *''ls -la /etc/update-motd.d/'' to see the scripts that are run after the MOTD is displayed.
 The Debian script is very simple:  The Debian script is very simple: 
-<code>+<code bash>
 #!/bin/sh #!/bin/sh
 uname -snrvm uname -snrvm
 </code> </code>
 +
 +====Ubuntu====
 Ubuntu has multiple scripts some that I like and some that I do not like.   Ubuntu has multiple scripts some that I like and some that I do not like.  
 This system status information script, ++++/etc/update-motd.d/50-landscape-sysinfo| This system status information script, ++++/etc/update-motd.d/50-landscape-sysinfo|
Line 70: Line 73:
 ++++ ++++
  
 +====Python Code====
 ++++python3 agnostic code |  ++++python3 agnostic code | 
 <code> <code>
Line 197: Line 201:
 ++++ ++++
  
-Some Links:+====Some Links:====
   *[[How to manage SSH login message|https://www.simplified.guide/ssh/suppress-banner]]   *[[How to manage SSH login message|https://www.simplified.guide/ssh/suppress-banner]]
   *[[HowTo: Set a Warning Message (Banner) in SSH|https://www.shellhacks.com/setup-warning-message-banner-ssh/]]   *[[HowTo: Set a Warning Message (Banner) in SSH|https://www.shellhacks.com/setup-warning-message-banner-ssh/]]
  • /app/www/public/data/pages/home_server/home_server_setup/other_services/ssh.txt
  • Last modified: 2023-12-26 Tue wk52 11:38
  • by baumkp