Sha256: 7a111242595ce55ad5b4a7a9e7f0733aae6fddd4accb5482c53d2b60ee32c1d3
Contents?: true
Size: 558 Bytes
Versions: 792
Compression:
Stored size: 558 Bytes
Contents
#!/bin/bash --login source /etc/profile.d/globals.sh for user in pwnadmin admin; do if [[ ! -d "/home/${user}/.ssh" ]]; then sudo mkdir -p /home/$user/.ssh sudo chmod 0700 /home/$user/.ssh sudo touch /home/$user/.ssh/authorized_keys sudo chmod 0600 /home/$user/.ssh/authorized_keys sudo chown -R $user:$user /home/$user/.ssh fi $screen_cmd "wget --no-check-certificate https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub -O ->> /home/${user}/.ssh/authorized_keys ${assess_update_errors}" grok_error done
Version data entries
792 entries across 792 versions & 1 rubygems