02 SSH Cisco Routers / Switches without password | Using Manual RSA key pair Authentication

preview_player
ะŸะพะบะฐะทะฐั‚ัŒ ะพะฟะธัะฐะฝะธะต
๐—™๐—ผ๐—ฟ ๐—–๐—ผ๐—บ๐—ฝ๐—น๐—ฒ๐˜๐—ฒ ๐—ฃ๐˜†๐˜๐—ต๐—ผ๐—ป ๐—™๐—ผ๐—ฟ ๐—ก๐—ฒ๐˜๐˜„๐—ผ๐—ฟ๐—ธ ๐—˜๐—ป๐—ด๐—ถ๐—ป๐—ฒ๐—ฒ๐—ฟ๐˜€ ๐—–๐—ผ๐˜‚๐—ฟ๐˜€๐—ฒ:
๐—˜๐—ป๐—ฟ๐—ผ๐—น๐—น ๐—ณ๐—ผ๐—ฟ ๐—ฏ๐—ฒ๐—น๐—ผ๐˜„ ๐—จ๐—ฑ๐—ฒ๐—บ๐˜† ๐—–๐—น๐—ฎ๐˜€๐˜€: ๐Ÿ๐ŸŽ๐Ÿ๐Ÿ ๐•๐ž๐ซ๐ฌ๐ข๐จ๐ง
๐‘ซ๐’Š๐’”๐’„๐’๐’–๐’๐’•๐’†๐’… ๐‘น๐’†๐’‡๐’†๐’“๐’“๐’‚๐’ ๐‘ณ๐’Š๐’๐’Œ:
Instead of password it uses,manually generated rsa key pair in the local machine for authentication

commands are
ls ~/.ssh/

conf t
ip ssh pubkey-chain
username nsrc
key-string
exit Failed to decode the Key Value
The maximum line length is 254 in cisco, but we can wrap smaller than this so that it fits on a terminal line.

username admin2 privilege 15

To generate sshkey pair, command in linux is
ssh-keygen -b 2048 -t rsa
#CiscoRSAkeySSH
#CiscoSSHwithoutPassword
#CIscoIOSRSAKey
ะ ะตะบะพะผะตะฝะดะฐั†ะธะธ ะฟะพ ั‚ะตะผะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ
ะะฒั‚ะพั€

thanks for sharing this demo, i got cannot decode key value error from the router when i tried to copy the entire pub key string into the router, did not know the entire key string needs to be folded into 70 characters per row. thanks for this demo!

cyruslok
ะะฒั‚ะพั€

Thanks that was so informative. Do you have a demo in Windows?

jungleplaya