cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1175
Views
0
Helpful
4
Replies

How to change ssh port on 3750g with ios Version 12.2(55)SE4

lipeng001
Level 1
Level 1

When i tried to change the service port of ssh on the 3750g, I got follow:

ip ssh ?
authentication-retries    Specify number of authentication retries
dscp                                 IP DSCP value for SSH traffic
logging                             Configure logging for SSH
precedence                      IP Precedence value for SSH traffic
source-interface               Specify interface for source address in SSH
connections
time-out                             Specify SSH time-out interval
version                               Specify protocol version supported

Is thar Version 12.2(55)SE4 do not support to change ssh port ?

I did some further:

line vty 5 15
login local
transport input telnet

rotary 23

Then i can telnet on ths 3023 port 

but:

line vty 0 4
login local
transport input ssh

rotary 44

I cant't make ssh connection on the 3044 port.

why?

4 Replies 4

Mark Malone
VIP Alumni
VIP Alumni

Hi

I just checked multiple lan switches 3750s,3750x 36s /38 s and 65s none of them have the ability to change the ssh port but all my routers do any type I checked , asrs , 4331s and 39s and 800s  , so Id say that its not a version issue but more of a switch issue that's not supported but where routers are supported, without the ssh port syntax its not possible to change it

If you want to know why Cisco didn't include it you would need to speak with them directly you might get an answer

Hello,

Thanks your answer.

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/sec_usr_ssh/configuration/12-4t/sec-usr-ssh-12-4t-book/sec-ssh-term-line.pdf

In this document,it's issue :

ip ssh port portnum rotary group

Use this command to connect the portnum argument with the rotary
groupargument, which is associated with a line or group of lines.

Hi

Yes and if you look at the syntax in that doc you provided its been configured on a router not a switch , if the syntax ip ssh port is not there you wont be able to do it

Thanks!

Telnet service port has been changed successfuly with rotary.

Review Cisco Networking for a $25 gift card