Compare commits

...

3 Commits

Author SHA1 Message Date
keyboardan 7db1b1a6b9 Wiki patch to ssh section
Signed-off-by: keyboardan <keyboardan@tilde.club>
Signed-off-by: deepend <deepend@tilde.club>
2025-07-01 21:43:53 +00:00
keyboardan 371f9efb7f news-item tags for news feed
Signed-off-by: deepend <deepend@tilde.club>
2025-07-01 21:20:51 +00:00
keyboardan 1eb933f5f2 identify news element for a possible news feed
Signed-off-by: deepend <deepend@tilde.club>
2025-07-01 20:36:48 +00:00
2 changed files with 19 additions and 10 deletions

View File

@ -43,7 +43,7 @@ if (isset($_GET['notice'])) {
<div class="grid">
<div class="row">
<div class="col">
<div id="news" class="col">
<?php
$news = json_decode(file_get_contents('news.json'), true);
@ -80,8 +80,14 @@ if (isset($_GET['notice'])) {
// Display news items
foreach ($filteredNews as $newsItem) {
echo '<div class="news-item">';
echo '<div class="news-item-title">';
echo '<h2>' . htmlspecialchars($newsItem['title']) . ':</h2>';
echo '<h3>' . htmlspecialchars($newsItem['heading']) . '</h3>';
echo '</div>';
echo '<div class="news-item-body">';
echo '<p>' . htmlspecialchars($newsItem['content']) . '</p>';
if (isset($newsItem['details']) && is_array($newsItem['details'])) {
@ -99,7 +105,9 @@ if (isset($_GET['notice'])) {
if (isset($newsItem['additional_content'])) {
echo '<p>' . htmlspecialchars($newsItem['additional_content']) . '</p>';
}
echo '</div>';
echo '</div>';
echo '<hr>';
}

View File

@ -161,13 +161,13 @@ ssh-keygen -t ed25519 -a 100
Note: %USERPROFILE% is a short code that the computer expands to mean C:\\Users\\your_name\\, or whatever the relevant path is to your user's main folder.
Next we will open up the public key so we can copy its contents.
Next we will open up the public key so we can copy its contents.
```cmd
notepad %USERPROFILE%\.ssh\id_ed25519.pub
```
4. Copy the text of the pubkey that opens in Notepad and paste it in the sshkey field on the signup form or email it to the relevant sign-up address for the tilde you are joining.
4. Copy the text of the pubkey that opens in Notepad and paste it in the sshkey field on the signup form or email it to the relevant sign-up address for the tilde you are joining.
#### using your keypair
@ -183,6 +183,13 @@ ssh username@tilde.club
where username is your username (~benharri would use `ssh benharri@tilde.club`)
Note: If you generated your key to the location above (%USERPROFILE%\\.ssh\\...) then you will be able to SSH to your tilde server without having to specify the location of the key. That folder is the default used by SSH and it will be found automatically. If you generated your keys in a different location or moved them, you will need to specify the full path to the private key.
```cmd
ssh -i c:\path\to\my\private\key username@your.tilde
```
7. profit???
---
@ -213,7 +220,7 @@ be located at `~/.ssh/id_ed25519.pub` and `~/.ssh/id_ed25519`
cat ~/.ssh/id_ed25519.pub
```
4. copy the output of the last command and paste it in the sshkey field on the
4. copy the output of the last command and paste it in the sshkey field on the
signup form (or email it to [root@tilde.club](mailto:root@tilde.club) if you already have an account)
#### using your keypair
@ -230,12 +237,6 @@ where username is your username (~benharri would use `ssh benharri@tilde.club`)
ssh username@tilde.club
```
Note: If you generated your key to the location above (%USERPROFILE%\\.ssh\\...) then you will be able to SSH to your tilde server without having to specify the location of the key. That folder is the default used by SSH and it will be found automatically. If you generated your keys in a different location or moved them, you will need to specify the full path to the private key.
```cmd
ssh -i c:\path\to\my\private\key username@your.tilde
```
7. profit???
---