Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logging in w SSH 2

Status
Not open for further replies.

RNF0528

MIS
Apr 4, 2006
115
US
I have just upgraded our Switch IOS to allow for Htpps and SSH. I am able to login with https without a problem. But when i try login using ssh it will not accept my password. Any ideas why this is? I can telnet no problem but not ssh.

!
line con 0
password 7 ******************
login
line vty 0 4
password 7 ******************
login
transport preferred ssh
transport input all
transport output all
line vty 5 15
password 7 *****************
login
transport preferred ssh
transport input all
transport output all
!
 
have you done crypto key gen rsa and ip domain name xxxx

------------------------------------
Dallas, Texas
Telecommunications Tech
CCVP, CCNA, Net+

CCNP in the works
 
yup, It allow me to start the session but when i put in the password it will not work? But if i try Http or https or telnet the password works fine?
 
Whats your default login method? You don't have one other than a password on the VTY lines. SSH would require a username and password. You could set one up locally on the device and then use login local under the VTY lines or you could use AAA and setup an ACS server for authentication.
 
username bla password blabla
line vty 0 4
login local

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
Thank you! The document and the lines worked. I missed the aaa new-model Line. Once it was input it worked like a champ. Thank you all for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top