04-16-2018 03:01 AM - edited 03-05-2019 10:17 AM
Hi Everyone,
I am having Network devices in 10.90.X.X/24 network given by ISP.
I want to access the server (10.60.x.x) behind the ASR 1000 series Router via SSH from the Host.
ip nat inside tcp 10.60.X.X 22(Server IP & Port) 10.90.X.X(Router Int IP) 2222 extended
After the above command, I can able to access the Server via 10.90.X.X (Router Int IP) with the port 2222 it is working and via 22 I am able to take the Router CLI.
Now the Host's are not supporting 2222 port. So it is possible to map the SSH 22 port for ServerCLI? and allocate any other Port for taking SSH for Router CLI?
When I tried the below command,
ip nat inside tcp 10.60.X.X 22(Server IP & Port) 10.90.X.X(Router Int IP) 22 extended
Router is showing Port 22 is used by System.
Initially the Link is connected through firewall so I have mapped SSH 22 port to Server 22 port.
Now as the Link is getting updated, I have to connect the Uplink to Router.
Suggestions for this issue are highly appreciated.
04-16-2018 03:15 AM
Hi there,
To change the port which the router ssh service listens on, use the following command:
! ip ssh port xxx !
cheers,
Seb.
04-17-2018 05:24 AM
Thanks for the recommendation.
I have tried it but still same situation.
So I have contacted the Cisco TAC for the same and we are currently on solving the issue.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: