Blog: 2023-09-30

From razwiki
Jump to navigation Jump to search

Weird that these disagree...

hack $ remove ~/.ssh/known_hosts
hack $ ssh [email protected]
The authenticity of host '45.79.9.183 (45.79.9.183)' can't be established.
ED25519 key fingerprint is SHA256:CirXgebEZ0xENb7SmPJE7xxWmjmSCZ/lmXv0Qu8sFa0.
+--[ED25519 256]--+
|   .o.o          |
|   . . .         |
|  . o o .  .     |
| . B @ O  . .    |
|  * ^ # S  o     |
| + O O B oE      |
|. + o = o.o      |
| o     ..+       |
|         .o      |
+----[SHA256]-----+
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? ^C⏎
hack $ nmap 45.79.9.183 --script ssh-hostkey --script-args ssh_hostkey=all
Starting Nmap 7.93 ( https://nmap.org ) at 2023-09-30 22:33 CDT
Nmap scan report for 45-79-9-183.ip.linodeusercontent.com (45.79.9.183)
Host is up (0.060s latency).
Not shown: 996 closed tcp ports (conn-refused)
PORT    STATE    SERVICE
22/tcp  open     ssh
| ssh-hostkey:
|   3072 c669b29c65027815a4f7190267841d44 (RSA)
| 3072 SHA256:3EpGIUD5LbGG+d7D7ELeEou60ZchA7ePLKyTE4maj54 (RSA)
| 3072 xuhog-famuv-notup-gypoz-racig-gekeg-muzah-fygyt-zoraf-tegac-duxux (RSA)
|
| +--[ RSA 3072]----+
| |    .BEo         |
| |   ..*.          |
| |  . + o .        |
| |   . o + +       |
| |      o S        |
| |     . X         |
| |      +          |
| |                 |
| |                 |
| +-----------------+
|
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCY7nTwHZGPVDF7wDH0dHy2p1ZZ+CnBnaa+kMiKcfFCvYwFpUY+Jhcb1+b90WIeJ29U7wVAsRHFNApGE9GZHrLh6lLTw7Gi84LozQdaiGnHnU3lj8mVu9m+ZbMxe1MdFboq9E0ew/JeXKp1/TBmu6lYVk/IeCo/FMm8/JzHHYbbJ481wT9eQVoLSEwro1yUOK1+WrI16HXXe6l1HR75L/O+LqKaWbW4k4QwWb9OD0nXkzU5a8W7yXd682kSMVsJP5AqzacYLZWd+jij4Jbj1uuQXmmtGdWyuUvMc+EHahRB2wDxa0rXAqDkTmvWKDWUdeyoZ8MU9e8uH8oOK8shFR8I2egXnTdhnE4XLHHXFuDZPJSamMElrrEJmO/PKgU0ZlyEiUhINMEzYm0VGpiPvgmsay2LdHGnRawG/DDB467S/UMFGufcb6pwka3R/Kod14QbMu2ikq8WgbV5GAwBgTfPbLLgcWAe2UqXA9dF4QNoezDhz93FTHumGGW5m98soa0=
|   256 dfc54b533adb7ddafbbcb4c6a01f14c7 (ECDSA)
| 256 SHA256:auM2B1tf/uMm7nQkS4+JU33KkOZ/JqpxgmILpEKUyNw (ECDSA)
| 256 xigiv-gamiv-bigis-syvib-ditid-cuzam-nohod-higut-vadif-dofok-tyxox (ECDSA)
|
| +--[ECDSA  256]----+
| |                 |
| |              .  |
| |             . E.|
| |             .oo |
| |        S    .B  |
| |         . ..+ *.|
| |          . o.=.+|
| |           .  o*o|
| |            ..o+B|
| +-----------------+
|
| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIAJWaJ144jVvNrkuRbtWPRPIYgVTuKQWb9PNJf7tHsZZRMuWfZj068yLXszWO0xtJJl8ibzsisDXEJm6ldPw7w=
|   256 d9d6ce00b6daffc21467a7afc90e8c18 (ED25519)
| 256 SHA256:CirXgebEZ0xENb7SmPJE7xxWmjmSCZ/lmXv0Qu8sFa0 (ED25519)
| 256 xehev-hykaf-penem-ponul-nalek-nahog-danos-mumys-tivih-bumas-boxix (ED25519)
|
| +--[ED25519  256]----+
| |                 |
| |                 |
| |        o        |
| |       . =..o .  |
| |      E S ++.o   |
| |       = +.+.    |
| |      o ooo o.   |
| |         .oo ..  |
| |          .+*.   |
| +-----------------+
|
|_ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDpdxoRi6Y3BgiKFJnFrOlpuF//I5AxmbsXWd6xF9uZR
25/tcp  open     smtp
80/tcp  open     http
646/tcp filtered ldp

Nmap done: 1 IP address (1 host up) scanned in 4.61 seconds

Want to have a quick way from jekyll serve in foreground to jekyll serve running in nohup. Maybe a tmux command could do this. Kinda unnecessary, was also looking into making an init script to start/stop jekyll with a command. That's still a decent idea, maybe the daemonize program does have what I want here. I'd use systemd unit scripts but wsl doesn't use systemd