Just type following lines in CLI for configure SSHv2
username cisco password cisco
username cisco password cisco
ip domain-name xyz.com
crypto key generate rsa (rsa means Rivest, Shamir and Adleman)
ip ssh version 2 (Always configure SSHv2 instead of SSHv1 because its more secure than SSHv1)
line vty 0 4
login local
transport input ssh
To prevent non ssh telnets
transport input ssh
- You can check current session by typing "show sessions", if you run multiple sessions than still it show on cli.
- If you want to find out last session that in progress than you can see asterisk(*) in front of the particular session.
- On the same way you can check user by typing "show users".
crypto key generate rsa (rsa means Rivest, Shamir and Adleman)
ip ssh version 2 (Always configure SSHv2 instead of SSHv1 because its more secure than SSHv1)
line vty 0 4
login local
transport input ssh
To prevent non ssh telnets
transport input ssh
- You can check current session by typing "show sessions", if you run multiple sessions than still it show on cli.
- If you want to find out last session that in progress than you can see asterisk(*) in front of the particular session.
- On the same way you can check user by typing "show users".
No comments:
Post a Comment