Jump to content

How do I display the nice SSH login info again?


Go to solution Solved by laibsch,

Recommended Posts

Posted

Hi there, Orange Pi 5 user here, when I ssh into my Armbian installation remotely, it shows a nice welcome screen, with a bunch of facts like Uptime, Load, Temperature and so on

I tried typing 'motd' but it says no command found

I have 2 requests

1 - how do I display this manually, again, from a terminal?
2- is there a way to have this show when I open a terminal locally?  it's useful to me

thanks!

  • Solution
Posted

The answer to your question is "sudo run-parts /etc/update-motd.d/", @snow

 

To have that information displayed every time you login, you might want to check ~/.profile or ~/.bash* files if you use bash as your shell.  I am not sure what problem you might run into since as you can see above the run-parts command needs root.  Do some testing, with and without root.

Posted

Thank you @laibsch I unfortunately don't understand @Werner's response, but yours is very helpful, thank you very much!  I will look at trying to add that to my .bashrc or .zshrc I suppose! cheers

Posted

Ah, I misunderstood. I thought does not appear at all anymore but the question was about manual call.

Has been answered properly already.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines