Thursday, 11 August 2011

Configure SSHv2

Just type following lines in CLI for configure SSHv2


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".

No comments: