- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2009 02:09 PM - edited 03-10-2019 04:28 PM
Hi All,
I have this config:
aaa authentication login default local line enable
aaa authorization console
aaa authorization exec default local
aaa authorization network default local
line vty 0 4
password Gr834!
transport preferred ssh
transport input ssh
transport output ssh
then create username "admin" with privilege 15. But I can't login to SSH with this username and password? I've already generated public key on the router.
any idea would be very appreciated.
thanks
Alex
Solved! Go to Solution.
- Labels:
-
AAA
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 01:11 AM
try this:
username cisco password cisco
enable secret cisco
ip domain-name nsp.org
crypto key genrete rsa 1024
ip ssh version 2
line vty 0 4
transport input all
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 01:11 AM
try this:
username cisco password cisco
enable secret cisco
ip domain-name nsp.org
crypto key genrete rsa 1024
ip ssh version 2
line vty 0 4
transport input all
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 05:24 PM
crypto key generate rsa 1024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2009 11:29 PM
SSH normally works with minimum 1024.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2009 09:11 AM
Here is a complete ssh config that doesn't need a hostname or domain name:
crypto key gen rsa gen label SSH_Keys mod 1024
ip ssh ver 2
ip ssh authentication-retries 3
ip ssh time-out 90
ip ssh source-interface loopback0
username test secret p@ssw0rd
enable secret s3cr3tPassw0rd!
aaa new-model
aaa authentication login default local
aaa authentication enable default enable
line vty 0 4
transport input ssh
I would recommend AGAINST creating level 15 usernames.
