G
YouTube TikTok Games
Skip to content

Server Environment Files #17

Open
Open

Description

@devlinjunker

Is your feature request related to a problem? Please describe:
I would like the experience on remote servers to be as consistent as possible

Describe the solution:
Provide/create .rc files that can be placed on server when sshing to that provide consistent experience

Also would be nice to get information when logging into server
(https://unix.stackexchange.com/questions/16255/how-can-i-change-whats-displayed-at-a-login-shell)

Send message on signout?

Describe alternatives you've considered:
N/A

Links/Additional context:
Recent History Script

Testing:

  • Place .rc files on amazon server and test that experience is more consistent and helpful info is provided to the user
  • ssh to mac mini?
  • test on work server?

Activity

  1. devlinjunker commented on Feb 11, 2022

    @devlinjunker
    OwnerAuthor

    remember script to show last set of commands run (on login): https://gist.github.com/devlinjunker/42e8ce6bf3cd0eefef966ec49059c605

  2. devlinjunker commented on Feb 21, 2022

    @devlinjunker
    OwnerAuthor

    Setup Script

    • Set /etc/hostname
    • Set /etc/hosts?
    • Set prompt
    • Set Aliases
    • Check programs installed?
  3. devlinjunker commented on Apr 26, 2022

    @devlinjunker
    OwnerAuthor

    can create file in /etc/profile.d/ (contains scripts that run on each login) to output something...

    OR....

    on amazon ec2 linux, there is script that runs on cronjob: /usr/sbin/update-motd to update the motd.

    • Uses files in /etc/update-motd.d/ to update banner
    • see /etc/cron.d/update-motd for cronjob
  4. devlinjunker commented on Apr 26, 2022

    @devlinjunker
    OwnerAuthor
    
                        vv
                        vvv^^^^vvvv
                    vvvvvv^^vvvvv^^vvvv
          vvvvvvvv^^^^^^^^^^^^^vvvvv^^^vvvv
      vvvvvvvv^^^v^^^vvvvvv^^vvvvvvvv^^^vvvvvvv
        ^vvvvvvvvv^^^^vvvvvv^^^^^^vvvvvvvv^^^vvvvv^v
    vv^^vvv^^^vvvvvvvv^vvvvv^vvvvvv^^^vvvvvvv^^vv^
    vv^vvvvv^^vvvvvvv^^vvvvv^^vvvvv^v##vvv^vvvv^^vvvvv^v
    ^vvvvv^^vvvvvv^vv^vvv^^^^^^_____##^^^vvvvvvvv^^^^
      ^^vvvvv^^vvvvvvvvv^^^^/\@@@@@@\#vvvv^^^
            ^^vvvv^^^^^vvvv/__\@@@@@@\^vvvv^v
                ;^^vvvvvvv/____\@@@@@@\vvvvvvv
                ;   \_ ^\|[  -:] ||--| | _/^^
                ;     \  |[   :] ||_/| |/
                ;      \\||___:]______/
                ;       \   ;=; /
                ;        |  ;=;|
                ;       ()  ;=;|
              (()        || ;=;|
                        / / \;=;\
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions