SSH rule not working for non-standard ssh port - PAM v 3.6


I have configured on SSH rule where I need to SSH a Linux server through PAM (v3.6).

SSH server on end-server (to which I want to SSH) is running on non-standard port (tcp/2233).

I added the resource in credential vault and defined port 2233. I am able to fetch host key using "Get Host Key" button


[]:2233 ecdsa-sha2-nistp256




However, when I do SSH via PAM, PAM sends out the connection to end-server at port 22 instead of 2233, which is refused by end-server.


Enter option (1-1): 1
ssh: connect to host port 22: Connection refused
0) Exit
1) ssh - root@
Enter option (1-1):


Anyone faced this issue before, or someone can help if there is any specific configuration is missing.



Virender Negi