Reputation: 35
I’m currently working on adding a server (vm-target) as a Jenkins node through a bastion server (bastion.example.com), but I’m running into issues with SSH connections. Here’s what I’ve tried:
I tried to use ProxyCommand / ProxyJump and it fails .
Received disconnect from xxxxxxxx port xx:xx: Disconnection Disconnected from xxxxxxxx port xx Connection closed by UNKNOWN port xxxxx
However, when I use this command, it connects successfully:
ssh user@local@vm-target:[email protected]
It seems the SSH setup involves some custom configuration. I need to integrate vm-target as a node in Jenkins but am unsure how to proceed given this setup.
Could you please advise on how to configure Jenkins to connect using this working SSH command, or suggest an alternative approach?
Upvotes: 0
Views: 34