Kali quickstart: Difference between revisions

From Bitpost wiki
No edit summary
Line 18: Line 18:
  sudo systemctl enable ssh.service
  sudo systemctl enable ssh.service
  sudo systemctl start ssh.service
  sudo systemctl start ssh.service
* Edit the .zshrc file to add a banner, bump up the history size, etc.
emacs ~/.zshrc

Revision as of 17:58, 8 March 2022

Update

sudo apt update && sudo apt full-upgrade -y

Installation

  • Download the "bare metal" primary ISO
  • Push the ISO to proxmox
  • Create a VM with it
  • Update sshd to only allow one user through with a proper key auth
# MDM
AllowTcpForwarding yes
PasswordAuthentication no
KbdInteractiveAuthentication no
ChallengeResponseAuthentication no
UsePAM no
AllowUsers #just_my_user#
  • Enable and start the ssh service
sudo systemctl enable ssh.service
sudo systemctl start ssh.service
  • Edit the .zshrc file to add a banner, bump up the history size, etc.
emacs ~/.zshrc