Ansible provisioning ERROR! Using a SSH password instead of a key is not possible

Create a file ansible/ansible.cfg in your project directory (i.e. ansible.cfg in the provisioning_path on the target) with the following contents: [defaults] host_key_checking = false provided that your Vagrant box has sshpass already installed – it’s unclear, because the error message in your question suggests it was installed (otherwise it would be “ERROR! to use the … Read more

SSH onto Vagrant Box With Different Username

You can ssh to the box using vagrant but NOT kevin, that’s expected. Most Vagrant base boxes have only 2 users with SSH access, root and vagrant. They both use vagrant as password, in addition, vagrant is configured for public key authentication using the insecure (why? see Vagrant insecure by default?) key pair provided in … Read more

Using “Remote SSH” in VSCode on a target machine that only allows inbound SSH connections

When you connect to a host it executes a bash script that wgets or curls a tarball and extracts it in a directory in your home directory. Here’s an offline workaround. Attempt to connect, let it fail On server, get the commit id $ ls ~/.vscode-server/bin 553cfb2c2205db5f15f3ee8395bbd5cf066d357d Download tarball replacing $COMMIT_ID with the the commit … Read more