Skip to content

Commit e99bdab

Browse files
author
Patrick M
committed
fix: add script
1 parent 154dc3b commit e99bdab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

_posts/2023-12-18-adding-figurine-to-login.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ tags: ["linux", "login", "ssh"]
88

99
I saw a very interesting video by [Alex Kretzschmar](https://www.youtube.com/watch?v=GPQ6k2GR17I) about how to add a nice colorful login banner using Figurine that displays the hostname. I thought this would be helpful when working with several SSH sessions, so I added it to my hosts.
1010

11+
To do this quickly and use the hostname for the login message, you can use thise script, otherwise follow along below
12+
13+
> Don't just take my word for it. Always inspect the code that will be running on your machines, especially from an untrusted and unsigned source.
14+
{: .prompt-warning }
15+
```bash
16+
curl https://gist.githubusercontent.com/binarypatrick/2e33d8d3c79210dc74077627cb0deb9c/raw/ | sudo bash
17+
```
18+
1119
![Login example of figurine displaying the hostname](/assets/img/adding-figurine-login-message/login-example.png)
1220

1321
To start you need to download and install Figurine.

0 commit comments

Comments
 (0)