{"id":1355,"date":"2018-07-22T22:20:55","date_gmt":"2018-07-23T02:20:55","guid":{"rendered":"http:\/\/matthannan.net\/blog\/?p=1355"},"modified":"2018-07-27T08:13:54","modified_gmt":"2018-07-27T12:13:54","slug":"add-uptime-to-ssh-login-banner","status":"publish","type":"post","link":"https:\/\/matthannan.net\/blog\/add-uptime-to-ssh-login-banner\/","title":{"rendered":"Add uptime to ssh login banner"},"content":{"rendered":"<p>Stupid Linux tricks.<br \/>\n<a href=\"http:\/\/mewbies.com\/how_to_customize_your_console_login_message_tutorial.htm\" rel=\"noopener\" target=\"_blank\">http:\/\/mewbies.com\/how_to_customize_your_console_login_message_tutorial.htm<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Stupid Linux tricks. http:\/\/mewbies.com\/how_to_customize_your_console_login_message_tutorial.htm<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[379,81,381,326,172,380],"class_list":["post-1355","post","type-post","status-publish","format-standard","hentry","category-geek","tag-banner","tag-linux","tag-motd","tag-raspberrypi","tag-ssh","tag-uptime"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2NxlE-lR","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1593,"url":"https:\/\/matthannan.net\/blog\/how-to-use-windows-10s-built-in-openssh-to-automatically-ssh-into-a-remote-linux-machine\/","url_meta":{"origin":1355,"position":0},"title":"How to use Windows 10&#8217;s built-in OpenSSH to automatically SSH into a remote Linux machine","author":"matthannan","date":"4 August 2019","format":false,"excerpt":"Source: How to use Windows 10's built-in OpenSSH to automatically SSH into a remote Linux machine Amazing how quickly things have changed! This is from January 2019, and it is already dated. Windows 10 now has ssh-copy-id. I am looking for a tutorial on just how to use that now,\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":53,"url":"https:\/\/matthannan.net\/blog\/rebuilding-from-backup\/","url_meta":{"origin":1355,"position":1},"title":"Rebuilding from backup","author":"matthannan","date":"26 February 2010","format":false,"excerpt":"So, the hard drive in my server died. It is now known to me that this hard drive has massive issues across the board and it will be the last Seagate drive that I buy for a good long time. I had to rebuild my server the last time because\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":24,"url":"https:\/\/matthannan.net\/blog\/a-good-night-of-geeking\/","url_meta":{"origin":1355,"position":2},"title":"A Good Night of Geeking!!!","author":"matthannan","date":"9 February 2010","format":false,"excerpt":"For some reason tonight, I decided to not play around with beer and mead too much. They are doing their thing quite happily. Sometimes after a rough day in the saltmines, I'll come home and drink a beer or three. Sometimes I will sit down to geek out. Very therapeutic,\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1597,"url":"https:\/\/matthannan.net\/blog\/raspberry-pi-sd-card-to-ssd-drive-part-2\/","url_meta":{"origin":1355,"position":3},"title":"Raspberry Pi: SD Card to SSD Drive, part 2","author":"matthannan","date":"11 August 2019","format":false,"excerpt":"Oh, brother, has this been a mess. I've certainly relearned a great deal about Linux partitions and boot sectors and a bunch of other stuff that I used to know cold, but this process has beaten me. This morning, after about a week of doing battle with this process, and\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2409,"url":"https:\/\/matthannan.net\/blog\/neofetch-for-super-cool-login-banners\/","url_meta":{"origin":1355,"position":4},"title":"Neofetch: For Super-Cool Login Banners","author":"matthannan","date":"17 July 2022","format":false,"excerpt":"While I am writing blog posts, this is one that I find myself searching for quite often. Be another one to bake into the Ansible template. If you want a wicked awesome login banner, like this one: sudo apt install neofetch sudo bash -c $'echo \"neofetch\" >> \/etc\/profile.d\/mymotd.sh && chmod\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2022\/07\/neofetch.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2022\/07\/neofetch.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2022\/07\/neofetch.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/matthannan.net\/blog\/wp-content\/uploads\/2022\/07\/neofetch.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":939,"url":"https:\/\/matthannan.net\/blog\/openwrt\/","url_meta":{"origin":1355,"position":5},"title":"OpenWRT","author":"matthannan","date":"21 December 2016","format":false,"excerpt":"Well, that was quick. I was able to make a connection from remote back to the Gargoyle router via the OpenVPN tunnel. But, I was unable to see anything on the LAN. Sure, this was not one of the objectives when I started this journey, but after seeing that option\u2026","rel":"","context":"In &quot;Geek&quot;","block_context":{"text":"Geek","link":"https:\/\/matthannan.net\/blog\/category\/geek\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/1355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/comments?post=1355"}],"version-history":[{"count":5,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/1355\/revisions"}],"predecessor-version":[{"id":1365,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/posts\/1355\/revisions\/1365"}],"wp:attachment":[{"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/media?parent=1355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/categories?post=1355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matthannan.net\/blog\/wp-json\/wp\/v2\/tags?post=1355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}