On linux server i have installed warp-cli and after warp-cli register
and later setting warp-cli set-mode warp+doh
and warp-cli connect
I lost access to ssh server and i'm no longer able to ssh into that server.
I have found the solution
During setup and before running warp-cli connect
run below cmd with ip address cidr of your device from which you are trying to access the server.
warp-cli add-excluded-route 5.5.5.5/32