Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SSH error: Server unexpectedly closed network connection

1,700 views
Skip to first unread message

Mik

unread,
Apr 25, 2008, 2:14:57 AM4/25/08
to
I've just enabled crypto - cry key generate rsa (1024) - on my Cisco
1700 router - but when I launch my Putty client in v1 or v2 SSH mode -
they all tell me "Server unexpectedly closed network connection".
What do I not have enabled?

IOS version c1700-ipbasek9-mz.124-19.bin

Thanks

Mik

News Reader

unread,
Apr 25, 2008, 11:51:55 AM4/25/08
to

New installation, or pre-existing with prior Telnet access?

Have you set login and passwords on the VTYs?

Is SSH a permitted transport on your VTYs?

Do you have an access list restricting source IP or port number?

Best Regards,
News Reader

Mik

unread,
Apr 25, 2008, 12:23:52 PM4/25/08
to
This is an existing installation that had telnet. There are no access
lists employed. I've copied a few of the pertinent lines from the
running config.

thanks
Mike


aaa new-model
aaa authentication login local_auth local
aaa session-id common


line con 0
exec-timeout 5 0
login authentication local_auth
transport output telnet
line aux 0
login authentication local_auth
transport output telnet
line vty 0 4
password 7 111Axxxxxxxxxx
login authentication local_auth
transport input telnet
\> New installation, or pre-existing with prior Telnet access?


>
> Have you set login and passwords on the VTYs?
>
> Is SSH a permitted transport on your VTYs?

News Reader

unread,
Apr 25, 2008, 1:07:47 PM4/25/08
to
Mik wrote:
> This is an existing installation that had telnet. There are no access
> lists employed. I've copied a few of the pertinent lines from the
> running config.
>
> thanks
> Mike
>
>
> aaa new-model
> aaa authentication login local_auth local
> aaa session-id common
>
>
> line con 0
> exec-timeout 5 0
> login authentication local_auth
> transport output telnet
> line aux 0
> login authentication local_auth
> transport output telnet
> line vty 0 4
> password 7 111Axxxxxxxxxx
> login authentication local_auth
> transport input telnet

transport input ssh

or

transport input telnet ssh

... depending on which protocols you wish to permit.


Best Regards,
News Reader

0 new messages