Tags

, , ,

The following lines will

  • create a local user for ssh login. username: admin, password: cisco.
  • define the domain name
  • generate crypto key
  • set virtual terminal input to accept ssh connection only
  • configure ssh login to use local user credentials.
# conf t
# username admin password cisco
# ip domain-name wss.local
# generate crypto key rsa
# 512
#
# line vty 0 4
# transport input ssh
# login local

 

To connect from a cisco router.

  • ip address of ssh destination: 9.9.9.9
  • login as admin
ssh -l admin 9.9.9.9
Advertisements