Using SSH to connect to a Catalyst 1900 switch

Using SSH to connect to a Catalyst 1900 switch

NewsGroups | Search | Tools
 alt.certification.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Using SSH to connect to a Catalyst 1900 switch Jason 11-15-2007
Posted by Jason on November 15, 2007, 10:29 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi,

Can anyone tell me how to connect to my Catalyst 1900 switch using SSH? I
can connect without problem to the console using a rollover cable in my PCs
COM port but I'd also like to connect via the switches IP address. I can't
find any documentation on how to set a password for an SSH (or Telnet)
session in the switches configuration & when I try to connect using puTTY I
get the message "Network error: Connection refused"? I'm starting to think
that maybe the 1900 can't accept SSH or Telnet connections but I doubt this
very much.

TIA, Jason.

Pure Networks
Posted by Trendkill on November 15, 2007, 11:00 am
If you were  Registered and logged in, you could reply and use other advanced thread options
wrote:
> Hi,
>
> Can anyone tell me how to connect to my Catalyst 1900 switch using SSH? I
> can connect without problem to the console using a rollover cable in my PCs
> COM port but I'd also like to connect via the switches IP address. I can't
> find any documentation on how to set a password for an SSH (or Telnet)
> session in the switches configuration & when I try to connect using puTTY I
> get the message "Network error: Connection refused"? I'm starting to think
> that maybe the 1900 can't accept SSH or Telnet connections but I doubt this
> very much.
>
> TIA, Jason.

This should help:

http://www.cisco.com/en/US/docs/switches/lan/catalyst2900xl_3500xl/catalyst1900_2820/version8.00.03/icgf/19icover.html

Posted by Chad Mahoney on November 15, 2007, 12:37 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Jason wrote:
> Hi,
>
> Can anyone tell me how to connect to my Catalyst 1900 switch using SSH? I
> can connect without problem to the console using a rollover cable in my PCs
> COM port but I'd also like to connect via the switches IP address. I can't
> find any documentation on how to set a password for an SSH (or Telnet)
> session in the switches configuration & when I try to connect using puTTY I
> get the message "Network error: Connection refused"? I'm starting to think
> that maybe the 1900 can't accept SSH or Telnet connections but I doubt this
> very much.
>
> TIA, Jason.


conf t
line vty 0 4
login
password cisco
wri mem


That will get you telnet access, as far as SSH I beleive you have to
have a certain IOS train to use SSH.

You do have an IP address on the switch already, correct? Can you ping
the address?

Posted by Jason on November 15, 2007, 1:34 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

> Jason wrote:
>> Hi,
>>
>> Can anyone tell me how to connect to my Catalyst 1900 switch using
>> SSH? I can connect without problem to the console using a rollover
>> cable in my PCs COM port but I'd also like to connect via the
>> switches IP address. I can't find any documentation on how to set a
>> password for an SSH (or Telnet) session in the switches configuration
>> & when I try to connect using puTTY I get the message "Network error:
>> Connection refused"? I'm starting to think that maybe the 1900 can't
>> accept SSH or Telnet connections but I doubt this very much.
>>
>> TIA, Jason.
>
>
> conf t
> line vty 0 4
> login
> password cisco
> wri mem
>
>
> That will get you telnet access, as far as SSH I beleive you have to
> have a certain IOS train to use SSH.
>
> You do have an IP address on the switch already, correct? Can you ping
> the address?

I have now successfuly connected via Telnet so thanks very much.

Posted by Doug McIntyre on November 15, 2007, 1:14 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
>Can anyone tell me how to connect to my Catalyst 1900 switch using SSH?

Chuck it out, and buy a switch that hasn't been EOL'd since almost
before ssh existed (exagerating here)? The generation after this one
didn't support SSH either..

>I can connect without problem to the console using a rollover cable in my PCs
>COM port but I'd also like to connect via the switches IP address. I can't
>find any documentation on how to set a password for an SSH (or Telnet)
>session in the switches configuration & when I try to connect using puTTY I
>get the message "Network error: Connection refused"? I'm starting to think
>that maybe the 1900 can't accept SSH or Telnet connections but I doubt this
>very much.

You can telnet to it when you configure remote access in the menus.
Read up on the docs here.

<http://www.cisco.com/en/US/docs/switches/lan/catalyst2900xl_3500xl/catalyst1900_2820/version9.00.00/icgf/19icg9x.html#wp9129>

Network Management Menu->IP Configuration Menu
Setup your IP address and password.


Similar ThreadsPosted
HELP --> 2501 and Catalyst 1900 switch problem. Cannot get e0 on router to come up when connected to any ports on switch @@@@ June 1, 2006, 9:29 pm
How do you connect a 1900 series switch to a 2501 series Router April 1, 2006, 3:42 pm
Catalyst 1900 June 9, 2005, 3:36 am
Catalyst 1900 March 5, 2006, 5:06 am
Catalyst 1900 question March 20, 2007, 12:13 pm
1900 switch without command line ! September 5, 2006, 1:08 pm
Connecting a Switch 1900 to a Router 2503 June 17, 2005, 12:24 pm
1900 switch & 2500 router connection problem March 12, 2006, 2:23 pm
Block arp packets on Catalyst switch February 22, 2008, 8:18 am
uplink in catalyst 2950 switch April 20, 2008, 2:23 am

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map