cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7448
Views
10
Helpful
7
Replies

change ssh port cisco 877W router

jillesmiedema
Level 1
Level 1

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 7

sprasath
Level 1
Level 1

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

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

jilles

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

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

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

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

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 .

Getting Started

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:

Review Cisco Networking products for a $25 gift card