Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Changing SSH Port on Cisco Router

Reply
Thread Tools

Changing SSH Port on Cisco Router

 
 
Fred Atkinson
Guest
Posts: n/a
 
      02-24-2008
I was asked if it was possible to change the default port for
SSH access to a Cisco router.

Can that be done?

Regards,



Fred
 
Reply With Quote
 
 
 
 
Fred Atkinson
Guest
Posts: n/a
 
      02-24-2008
On Sat, 23 Feb 2008 19:36:44 -0500, Fred Atkinson
<(E-Mail Removed)> wrote:

> I was asked if it was possible to change the default port for
>SSH access to a Cisco router.
>
> Can that be done?
>
> Regards,
>
>
>
> Fred


Try: ip ssh port <port number> rotary <0-99>

It seems to work.

Regards,



Fred
 
Reply With Quote
 
 
 
 
Merv
Guest
Posts: n/a
 
      02-24-2008


> Try: ip ssh port <port number> rotary <0-99>



AFAIK that command is only for reverse ssh ( similiar to reverse
telnet )

 
Reply With Quote
 
Fred Atkinson
Guest
Posts: n/a
 
      02-24-2008
On Sun, 24 Feb 2008 14:31:02 -0800 (PST), Merv <(E-Mail Removed)>
wrote:

>
>
>> Try: ip ssh port <port number> rotary <0-99>

>
>
>AFAIK that command is only for reverse ssh ( similiar to reverse
>telnet )


Well,

I'm able to ssh into the new port from my computer.

Regards,



Fred
 
Reply With Quote
 
Merv
Guest
Posts: n/a
 
      02-24-2008
On Feb 24, 5:34 pm, Fred Atkinson <(E-Mail Removed)> wrote:
> On Sun, 24 Feb 2008 14:31:02 -0800 (PST), Merv <(E-Mail Removed)>
> wrote:
>
>
>
> >> Try: ip ssh port <port number> rotary <0-99>

>
> >AFAIK that command is only for reverse ssh ( similiar to reverse
> >telnet )

>
> Well,
>
> I'm able to ssh into the new port from my computer.
>


interesting

 
Reply With Quote
 
Fred Atkinson
Guest
Posts: n/a
 
      02-28-2008
On Sun, 24 Feb 2008 14:42:28 -0800 (PST), Merv <(E-Mail Removed)>
wrote:

>On Feb 24, 5:34 pm, Fred Atkinson <(E-Mail Removed)> wrote:
>> On Sun, 24 Feb 2008 14:31:02 -0800 (PST), Merv <(E-Mail Removed)>
>> wrote:
>>
>>
>>
>> >> Try: ip ssh port <port number> rotary <0-99>

>>
>> >AFAIK that command is only for reverse ssh ( similiar to reverse
>> >telnet )

>>
>> Well,
>>
>> I'm able to ssh into the new port from my computer.
>>

>
>interesting


I've since discovered that I can now SSH in through the
standard port (22) or the new port.

I wonder how I can block port 22 (short of putting up an
access-list)? Is there any way to turn off SSH access to port 22?

Regards,



Fred
 
Reply With Quote
 
Bod43@hotmail.co.uk
Guest
Posts: n/a
 
      02-28-2008
On Feb 28, 2:49*am, Fred Atkinson <(E-Mail Removed)> wrote:
> On Sun, 24 Feb 2008 14:42:28 -0800 (PST), Merv <(E-Mail Removed)>
> wrote:
>
>
>
>
>
> >On Feb 24, 5:34 pm, Fred Atkinson <(E-Mail Removed)> wrote:
> >> On Sun, 24 Feb 2008 14:31:02 -0800 (PST), Merv <(E-Mail Removed)>
> >> wrote:

>
> >> >> Try: * *ip ssh port <port number> rotary <0-99>

>
> >> >AFAIK that command is only for reverse ssh ( similiar to reverse
> >> >telnet )

>
> >> Well,

>
> >> * * * * I'm able to ssh into the new port from my computer.

>
> >interesting

>
> * * * * I've since discovered that I can now SSH in through the
> standard port (22) or the new port. *
>
> * * * * I wonder how I can block port 22 (short of putting up an
> access-list)? *Is there any way to turn off SSH access to port 22? *
>
> * * * * Regards,
>
> * * * * * * * * * * * * * * * * * * * * Fred


You could use interface access lists.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
net/ssh in ruby. ssh.exec fails salamond Ruby 0 02-17-2011 03:16 AM
NET:SSH fails authentification with :keys - ssh works Tench Johnson Ruby 1 04-23-2010 12:11 AM
python ssh and Tetia SSH server loial Python 0 02-10-2009 01:06 PM
Python ssh with SSH Tectia server loial Python 0 02-03-2009 03:38 PM
Connecting 4 Port Router + Single Port Router MooMetal Computer Support 0 01-29-2009 03:00 AM



Advertisments