Advertisement Β· 728 Γ— 90

Posts by Dr. Maik Ro

Preview
I used AI. It worked. I hated it. I used Claude Code to build a tool I needed. It worked great, but I was miserable. I need to reckon with what it means.

As a research project, I built a needed tool with Claude Code. I though it would be a disaster, but It wasn't. I have some complicated feelings about it.

1 week ago 199 56 35 24
Post image

Name them
shame them

2 months ago 40305 11559 607 395

Thx <3

2 months ago 1 0 0 1

This leads to 404 page :/

2 months ago 1 0 1 0
Post image
3 months ago 1 0 1 0

This is funny because people use ai to generate headshots from selfies and then another ai is used to assess the facial expressions of said image 🫣😬

3 months ago 1 0 1 0
A mushroom with a huge hat, is growing on a tree. It looks like it has a face and a pice on the side looks like a hand, giving the impression of the mushroom smiling and winking.

A mushroom with a huge hat, is growing on a tree. It looks like it has a face and a pice on the side looks like a hand, giving the impression of the mushroom smiling and winking.

Hi there friendows,

My last blogpost of the year. Or maybe ever, I dunno yet. Just read it if you want.

rootcat.de/blog/hackedm...

3 months ago 4 1 0 0
Advertisement
Post image

THC Release πŸ’₯: The world’s largest IP<>Domain database: ip.thc.org

All forward and reverse IPs, all CNAMES and all subdomains of every domain. For free.

Updated monthly.

Try: curl ip.thc.org/1.1.1.1

Raw data (187GB): ip.thc.org/docs/bulk-da...

(The fine work of messede πŸ‘Œ)

3 months ago 45 20 0 0

Welcome to Cisco 🫣 always a good experience when they are involved

3 months ago 2 0 0 0

Welcome to Cisco 🫣 always a good experience when they are involved

3 months ago 1 0 0 0

Take care dude! We need you for a hundred years more!

3 months ago 1 0 1 0
Post image

Love it! There is an issue with the email field though, made it hard(er) to sign up

How do you do so many things at once btw? :D I feel like every month you publish a banger new project

3 months ago 1 0 1 0

Is this by any chance an online class one could sit in next time you teach it?

3 months ago 0 0 1 0

+1 😬

3 months ago 0 0 0 0
Dr. Maik Ro (@maikroservice.com) How to rock IT automation with ansible 🀘🦾:

unrolled: tbsky.app/profile/maik...

4 months ago 0 0 0 0

WOHOOOOO IT WORKED WE ARE MAGICIANS! πŸͺ„πŸ¦„

Well done friends, in the next post we shall do the same on multiple machines at the same time πŸ’œ

Cant wait to talk to you again!

4 months ago 1 0 1 0
Advertisement
ansible -i ./hosts.yml infrastructure -a "ping 192.168.188.1 -c 1" - output in an ubuntu terminal

ansible -i ./hosts.yml infrastructure -a "ping 192.168.188.1 -c 1" - output in an ubuntu terminal

It has an associated IP address, a username that should be used for the ssh connection and the private key needed to initiate the connection

with that out of the way we can run the command from earlier:

ansible -i hosts.yml infrastructure -a 'ping 192.168.188.1 -c 1'

4 months ago 1 0 1 0

What do we see here?!

First all the machines are collected by a self-defined metagroup - β€œinfrastructure”.

now a list of all the hosts inside this group follows, in this example we will only have one for now - debian

4 months ago 1 0 1 0
content of the hosts.yml file showing an infrastructure group with one host - debian and associated parameters - IP address, ansible user, and the ssh key ansible should use

content of the hosts.yml file showing an infrastructure group with one host - debian and associated parameters - IP address, ansible user, and the ssh key ansible should use

WAIT - STOP - HOLD ON

what is inside the hosts.yml and what is a yml in the first place?

a .yml file is a yaml (Yet Another Markup Language) file

4 months ago 1 0 1 0

but how do we execute the commands now?

you use ansible πŸ’œ

like so:

ansible -i hosts.yml infrastructure -a 'ping 192.168.188.1 -c 1'

4 months ago 1 0 1 0
cat authorized_keys on a debian machine showing only one ssh key from a ubuntu machine

cat authorized_keys on a debian machine showing only one ssh key from a ubuntu machine

fear not - that is totally expected - your key is well β€œhidden” in the authorized keys - open that one and find out:

aha - ok that looks like the correct key with the correct username at the end 😌

4 months ago 1 0 1 0
contents of the folder .ssh shown, only one file visible - authorized_keys

contents of the folder .ssh shown, only one file visible - authorized_keys

GREAT!

can we check if the key is really there?

sure!

but um… this does not look like it is there?

4 months ago 1 0 1 0
"ssh-copy-id -i .ssh/ansible-debian debian@debian" running in a ubuntu terminal

"ssh-copy-id -i .ssh/ansible-debian debian@debian" running in a ubuntu terminal

you type:

ssh-copy-id -i <location_of_your_ssh_key> username@controlled-machine

press enter and then you need to enter the password for the controlled-machine user

if all goes well you see something similar to the following image:

4 months ago 1 0 1 0

wonderful - now two options exist

1. you copy the public ssh key to the machine via copy/paste

2. you use ssh-copy-id

We shall use 2. today, because it is freaking cool!

4 months ago 1 0 1 0
Advertisement
ssh-keygen -b 4096

ssh-keygen -b 4096

now generate a private key on your host machine with

ssh-keygen -b 4096

make sure to enter the correct location and add a passkey if you care about security πŸ™

4 months ago 1 0 1 0

if you are lucky it is already running - if not install it via:

sudo apt-get install openssh-server

4 months ago 1 0 1 0
output of "systemctl status ssh" in a terminal on a debian machine showing the ssh server is running

output of "systemctl status ssh" in a terminal on a debian machine showing the ssh server is running

cool cool cool - what now?

now you need to identify how you can connect to the controlled machine - e.g. via ssh if it is linux

that means ssh needs to run on the controlled machine - check via:

systemctl status ssh

4 months ago 2 0 1 0
terminal output after finished ansible installation showing all went well

terminal output after finished ansible installation showing all went well

smash that y button and the enter key right afterwards

and then wait until the install is finished ⏳ → βŒ›οΈ

4 months ago 1 0 1 0
output of "sudo apt-get install ansible"

output of "sudo apt-get install ansible"

First, install ansible on your host machine via:

sudo apt-get install ansible

(if your host is debian/ubuntu based)

4 months ago 1 0 1 0

and the best part?


you do _NOT_ have to install it on the client systems, only on your host / the controlling node!


Ok great, but how do we start ➑️ 🏁

4 months ago 1 0 1 0