Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

change ssh port cisco 877W router

cisco configuration professional (ccp)  uses https and

ssh ports to connect

it is easy to change the htttp port or https port on the router

but how to change the ssh port

if you give the command:

ip ssh port 8083 rotary 1

nothing changes  in ccp it stays the same

jilles

7 REPLIES
Cisco Employee

Re: change ssh port cisco 877W router

To change the ssh port on the router apart from entering 'ip ssh port 8083 rotary 1', you need to assign the VTY lines to 'rotary 1'. For example.

ip ssh port 8083 rotary 1

!

line vty 0 4

rotary 1

Shankar

Community Member

Re: change ssh port cisco 877W router

i want the port ssh chnaged for the lan acces not the serial acces.

jilles

Cisco Employee

Re: change ssh port cisco 877W router

If you are looking to change the SSH port using CCP, then go to manage devices in CCP. Expand the drop down option box for your router, click on connect safely. You will get the option to enter the port numbers for HTTPS and SSH here. Please let me know if this is what you are trying to achieve. Also let me know the CCP version number that you are running.

Shankar

Community Member

Re: change ssh port cisco 877W router

i know, but thatthe lan

ssh port on the router side should als be changed if you change it in ccp, your code does that ?

jilles

Cisco Employee

Re: change ssh port cisco 877W router

Well, do the changes in CCP and please enter the following in the router as I had mentioned:

ip ssh port 8083 rotary 1

!

line vty 0 4

rotary 1

transport input ssh

VTY lines are for telnet or SSH. Console is the serial line. VTY lines are through network interfaces (be it ethernet or any other interface).

- Shankar

Community Member

Re: change ssh port cisco 877W router

I always follow this up with an ACL blocking 22.

line vty 0 4

access-class TelSSH in

ip access-list   extended TelSSH

permit tcp 192.168.0.0 0.0.0.255 any eq 8083   log

deny   ip any any log
Community Member

Hi guys  here is a great

Hi guys  here is a great video for changing ssh on router 

https://www.youtube.com/watch?v=9Dqcp7zS7zg

it explain many stuff on how to change ssh and rotary settings .

6473
Views
10
Helpful
7
Replies
CreatePlease to create content