Port 22 setup on VirtualBox

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ส.ค. 2024
  • This setup on virtualbox enables you connect via SSH from another terminal in your local computer to your Ubuntu server in VirtualBox.
    After this setup, go to your terminal in your computer (gitbash, mobaxterm, powershell etc) and enter the following command:
    ssh -p 2222 YOURUBUNTUUSERNAME@localhost
    Note: if your terminal does not have openssh installed, install, enable and start ed , it will not work. To install, enable and start openssh, use the below commands.
    sudo apt install openssh-server -y
    sudo systemctl enable ssh
    sudo systemctl start ssh

ความคิดเห็น •