上QQ阅读APP看书,第一时间看更新
Making sure sshd is running
First, we're going to make sure that the server component of sshd is running by logging onto our VM in VirtualBox and running the following:
$ sudo systemctl enable sshd
$ sudo systemctl start sshd
You should be prompted (at least once) for your user password that we set earlier.
What we're doing is enabling the sshd service to start when the server is booted with the first command, and starting it right now with the second (so that we don't have to reboot the VM).