Anyone a hint why the nodes are still offline
I installed ssh agents and made the credits
Have you checked if Java is installed on the node(stapp01)? It is a prerequisite for Jenkins to work.
I have installed java 21 on stapp01 but still the node stays offline.
I’ve tried adding node and it is working as expected. Change your launch method to Launch agents via SSH and pass the credentials.

oke
But I do not have that choice even if I installed the ssh and ssh agents plugin
If I remember it correctly you are supposed to install a plugin called SSH Build Agent. Check if that’s installed, if not install it. Also do restart Jenkins.
Share screenshot of Installed Plugins tab and again did you restart Jenkins?
oke
I see this error:
Caused by: java.io.IOException: PEM problem: it is of unknown type.
Supported algorithms are :[ssh-ed25519, ecdsa-sha2-nistp521,
ecdsa-sha2-nistp384, ecdsa-sha2-nistp256, rsa-sha2-256, rsa-sha2-512,
ssh-rsa, ssh-dss]
Even if i do:
ssh-keygen -t rsa -b 2048 -m PEM
I’m not sure what credentails you are using. You are supposed to use credentials present here. You don’t have to use ssh key-pairs.