Updated Networking & SSH help

This commit is contained in:
IntenseWebs committed 2023-12-06 13:27:50 -06:00
1 parent ff89e1a1f6
commit 87a3eb0110
3 files changed
+5 -4

No files matched your search

@@ -1,8 +1,10 @@
nmcli connection show
sudo dnf update && sudo dnf upgrade
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/configuring_and_managing_networking/index
# Shell 'nmtui' is recommended method if if installing BRIDGE with slave network apapter using static IP address. Below method is manual edit of config files.
sudo hostnamectl set-hostname new.name
sudo vi /etc/resolv.conf
domain yourdomainname.com
search yourdomainname.com
@@ -17,9 +19,6 @@ sudo vi /etc/hostname
# ADD/CHANGE
ctp1.intensewebs.com
sudo systemctl restart networking
ip link list
ip link show
sudo nmcli device status
@@ -35,3 +34,5 @@ sudo nmcli connection modify Example-Connection ipv4.dns-search example.com
sudo nmcli connection modify Example-Connection ipv6.dns-search example.com
sudo nmcli connection up Example-Connection
sudo nmcli device status
sudo systemctl restart networking
+1 -1
View File
@@ -37,7 +37,7 @@ vi /etc/ssh/sshd_config
PasswordAuthentication no
PermitRootLogin no
systemctl restart ssh
systemctl restart sshd
# TO REMOVE OLD KEYS FROM known_hosts file
ssh-keygen -f "/home/privacy/.ssh/known_hosts" -R "192.168.1.200"
Binary file not shown.