Forum Discussion
gtm_add failed
I'm planning to join new GTM to existing GTM sync group. Both GTM have same big3d version. Existing GTM external interface is set to allow default. When I try to type gtm_add in new GTM it showed error message as below.
root@(NEWGTM)(cfg-sync Standalone)(Active)(/Common)(tmos) run gtm gtm_add X.X.Y.Y Retrieving remote and installing local BIG-IP's SSL certs ... Enter root password for X.X.Y.Y if prompted ssh: connect to host X.X.Y.Y port 22: Connection refused
ERROR: Can't read remote cert via /usr/bin/ssh.
==> Done <== root@(NEWGTM)(cfg-sync Standalone)(Active)(/Common)(tmos)
- SurgeonRet. Employee
TCP port 22 need to be allowed on the existing GTM to allow ssh. Certificates exchange is made via ssh.
- RaghavendraSYAltostratus
Please check the Self-IP configuration for the interface/VLAN and confirm whether the Port Lockdown setting is allowed ssh.
- williamtanAltostratus
Self IP port lockdown is set to allow default.
- RaghavendraSYAltostratus
what version you are running on GTM devices?
- RaghavendraSYAltostratus
I hope bash shell is enabled on both F5 devices.
- RaghavendraSY_7Cumulonimbus
Please check the Self-IP configuration for the interface/VLAN and confirm whether the Port Lockdown setting is allowed ssh.
- williamtanAltostratus
Self IP port lockdown is set to allow default.
- RaghavendraSY_7Cumulonimbus
what version you are running on GTM devices?
- RaghavendraSY_7Cumulonimbus
I hope bash shell is enabled on both F5 devices.
Do you have the AFM module / packet filters / another firewall device in between the GTMs that may be blocking this traffic?
From the bash prompt try doing a netcat from one GTM to the peer GTM device to see if it can connect.
nc -v X.X.Y.Y 22
- SurgeonRet. Employee
Is sshd running? ps aux|grep sshd
- williamtanAltostratus
I found the root cause. The old GTM configured packet filter rule and only allow few ip to ssh. Thank you for all your effort. Really appreciate.
I am glad you found the root cause :-D
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com