From da07b12c29d037789c0c2e16236580bac667fd82 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 6 Dec 2023 01:41:16 +0100 Subject: [PATCH] Enable SSH login on all network devices --- Networks/Main.pkt | 4 +- .../M6 Lab 5 - Management VLAN/README.md | 41 +++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/Networks/Main.pkt b/Networks/Main.pkt index e66777a..95bb975 100644 --- a/Networks/Main.pkt +++ b/Networks/Main.pkt @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f43d9e34fa94869ee0b6a021269b8397e01eb06ffed1345dc7bab4296f3d43c1 -size 221079 +oid sha256:0bf0081a1a39fcaab29c26c3938cacf0112b00f2f75a0a44e0ee4de2a3504869 +size 226651 diff --git a/Tutorials/M6 Lab 5 - Management VLAN/README.md b/Tutorials/M6 Lab 5 - Management VLAN/README.md index 39a86cf..789cece 100644 --- a/Tutorials/M6 Lab 5 - Management VLAN/README.md +++ b/Tutorials/M6 Lab 5 - Management VLAN/README.md @@ -92,3 +92,44 @@ exit disable exit ``` + +## Enable SSH Root Access +On all devices: +```sh +enable +configure terminal + +username moucha privilege 15 secret cisco +ip domain-name moucha.org + +line vty 0 15 +transport input ssh +login local + +exit +exit +disable +exit +``` + +On Switches: +```sh +enable +configure terminal +crypto key generate rsa general-keys modulus 4096 +exit +exit +disable +exit +``` + +On Routers: +```sh +enable +configure terminal +crypto key generate rsa general-keys modulus 2048 +exit +exit +disable +exit +```