Sha256: 561a47fbcce6da6008df414974c6a3ea1310a19aa7db6d1183c0a01230b2c4b7
Contents?: true
Size: 557 Bytes
Versions: 3
Compression:
Stored size: 557 Bytes
Contents
#!/bin/bash set -e export DEBIAN_FRONTEND=noninteractive # Create `deployer` user adduser --disabled-password deployer < /dev/null mkdir -p /home/deployer/.ssh cp /root/.ssh/authorized_keys /home/deployer/.ssh chown -R deployer:deployer /home/deployer/.ssh chmod 600 /home/deployer/.ssh/authorized_keys # Install and configure sshd apt -y update apt-get -y install openssh-server git { echo "Port 22" echo "PasswordAuthentication no" echo "ChallengeResponseAuthentication no" } >> /etc/ssh/sshd_config mkdir /var/run/sshd chmod 0755 /var/run/sshd
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-3.19.2 | .docker/ubuntu_setup.sh |
capistrano-3.19.1 | .docker/ubuntu_setup.sh |
capistrano-3.19.0 | .docker/ubuntu_setup.sh |