bondy/setup.md

32 lines
608 B
Markdown

# Installing OpenSSH
In settings, select Apps & Features -> Optional features -> add new
Select OpenSSH server from the list.
Reboot the machine.
When back in, open `services.msc` and enable the OpenSSH Server service.
# Adding local administrator account
```bash
net user backup /add
net localgroup Administrators backup /add
net user backup *
```
# Connecting from HOST
To connect with SSH and Ansible, the HOST machine must have `sshpass` installed.
It is also necessary to have `ansible.windows` installed:
```bash
ansible-galaxy collection install ansible.windows
```
# Pre-config of host