1 00:00:06,960 --> 00:00:09,690 - So here are the commands that we have seen in this lesson. 2 00:00:09,690 --> 00:00:11,520 Let's start with firewall cmd, 3 00:00:11,520 --> 00:00:13,890 the interface to configure the firewall, 4 00:00:13,890 --> 00:00:16,650 the firewall on Red Hat family Linux systems. 5 00:00:16,650 --> 00:00:20,040 Then we have used ufw, the uncomplicated firewall, 6 00:00:20,040 --> 00:00:22,680 which is the default firewall on Ubuntu. 7 00:00:22,680 --> 00:00:25,200 You have seen SE managed port, which is a requirement 8 00:00:25,200 --> 00:00:27,300 on Red Hat because we are running SSH 9 00:00:27,300 --> 00:00:31,290 on a non-default port and SELinux doesn't like that. 10 00:00:31,290 --> 00:00:34,813 Next we have used SSH keys, ssh-keygen 11 00:00:34,813 --> 00:00:36,330 Then the first thing to generate a key. 12 00:00:36,330 --> 00:00:39,030 Then we use ssh-copy-id to copy the key 13 00:00:39,030 --> 00:00:40,623 over to the managed machine. 14 00:00:41,460 --> 00:00:45,000 Ssh-agent is how we started an agent that can 15 00:00:45,000 --> 00:00:46,650 cash the pass race for the key. 16 00:00:46,650 --> 00:00:51,650 And ssh-add is how we added the pass race to the SSH agent. 17 00:00:52,410 --> 00:00:53,463 Let's go do a lab.