Configuration ssh server
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastEthernet 0/1
Router(config-if)#ip address 93.155.130.38 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#ip route 0.0.0.0 0.0.0.0 93.155.130.37
Router(config)#ip name-server 93.155.130.11
Router(config)#ip name-server 93.155.130.82
Router(config)#hostname R11
R11(config)#ip domain-name itservice-bg.net
R11(config)#crypto key generate rsa
The name for the keys will be: R11.itservice-bg.net
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]: 1024
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
R11(config)#
*Jul 24 10:27:13.851: %SSH-5-ENABLED: SSH 1.99 has been enabled
R11(config)#line vty 0 4
R11(config-line)#transport input ssh
R11(config-line)#login local
R11(config-line)#exit
R11(config)#username "admin" secret "passwordadmin"
R11(config)#service password-encryption
R11(config)#enable password "passwordenable"
R11(config)#end
R11#wr
Building configuration...
Connect ssh client on Linux
samyil@desktop:~$ ssh admin@93.155.130.38
The authenticity of host '93.155.130.38 (93.155.130.38)' can't be established.
RSA key fingerprint is dc:d9:28:f9:71:83:ab:78:cc:f3:b0:bc:c3:95:5b:68.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '93.155.130.38' (RSA) to the list of known hosts.
Password:
R11>