Browse Source

changed permission and printed the key for test #yolo ;p

master
ojizero 3 years ago
parent
commit
78fca8ff2d
4 changed files with 4 additions and 53 deletions
  1. 3
    0
      .gitignore
  2. 0
    51
      id_private_nosocial
  3. 0
    1
      id_private_nosocial.pub
  4. 1
    1
      random/recipes/default.rb

+ 3
- 0
.gitignore View File

@@ -7,3 +7,6 @@ bin/*

.kitchen/
.kitchen.local.yml

# the ssh keys
id_private*

+ 0
- 51
id_private_nosocial View File

@@ -1,51 +0,0 @@
-----BEGIN RSA PRIVATE KEY-----
MIIJKAIBAAKCAgEAyHoLCYVeTWCwrbIw/nU0ohKbvLjEYa3wkAyjxBMM9CL/Ziuo
jIowddMnQpPbLxoWGMPFYsi6l+AnVAMUnmXRgJ8S1cRxmGDnEPE6moBPBqqUIuyU
cOcwWcUZlohjCuAn2ohqIcdhFM5/R72RJ4O+0XNJVb6Vasbs3E981hwuqkCNYsgD
aEvCHJh6HHwrf397baO6vJwWdC0QkARvSWogqY40SsHosvpuWDc6fjwouRcZ5aOM
5VhB4+MxG4FXFJIVbNP5ZojkIy3w1SwpvrUV9HCfPGyshmVfM0Ey5vQsd9LH7fXu
k79Asts7lez3mZxp7l1/crXPlL1+SMCsYIDG41VOl/pYEsO+/NSdXWcGQVdN8pcZ
OyY5p5G0Ou0df78RfCHhjLZ9zDU4wCSipaK7cjdYFW/7aC0L3iYmNaqxHztAnHM3
63mHFyh4ta/GrkL97rMnQbIcbTUUkTsBG/FzcdiiqLOWMfQQj/uON4y4f0VsgdMK
Kt7n7x5z4+gUJpuhR45JQiP9GIO8058sZRdoQjp5AS/OvvvjzQnTV0ZJhYWB0USF
pWFilQDJcu36t4E3UiLFI3JC3Qeg3vI6VZlmddzm2i0yzRjBwvHQpmM51if9LdjN
B/hfAdibmw6/XmAzQ7AFRp6Rm2dvUoYDM6ADpcEHZmfIKlNzVS3T5r0QVTMCAwEA
AQKCAgEAn4UdCzJoW0G41D2Z5p/0hZIxAfYzrVXuuXCVTwupnwnKF85di5baA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h0v/1+WX8sqHv8bxvbL1vpu1eA51ivMCDvfX7/zyvzyNQPmB1bYvA9D5oY
8S58ibc9pbv6390W3fBqkZanLEilx3bLQ0OISsXcmmcbjjUuTIwpHluSBQCvaDIY
U6pQKuBNelwzUZV3VlThHDuaGXqLGEXHgrXA+DKyv9/f5V7eFEo2ltQ2cnLdGKok
+L284Xr3SLksC1N/CI3/0T3yDCNZZN9ETu/CR5OPjJmw4VrIA9P6TChDaNE=
-----END RSA PRIVATE KEY-----

+ 0
- 1
id_private_nosocial.pub View File

@@ -1 +0,0 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDIegsJhV5NYLCtsjD+dTSiEpu8uMRhrfCQDKPEEwz0Iv9mK6iMijB10ydCk9svGhYYw8ViyLqX4CdUAxSeZdGAnxLVxHGYYOcQ8TqagE8GqpQi7JRw5zBZxRmWiGMK4CfaiGohx2EUzn9HvZEng77Rc0lVvpVqxuzcT3zWHC6qQI1iyANoS8IcmHocfCt/f3tto7q8nBZ0LRCQBG9JaiCpjjRKweiy+m5YNzp+PCi5Fxnlo4zlWEHj4zEbgVcUkhVs0/lmiOQjLfDVLCm+tRX0cJ88bKyGZV8zQTLm9Cx30sft9e6Tv0Cy2zuV7PeZnGnuXX9ytc+UvX5IwKxggMbjVU6X+lgSw7781J1dZwZBV03ylxk7JjmnkbQ67R1/vxF8IeGMtn3MNTjAJKKlortyN1gVb/toLQveJiY1qrEfO0CcczfreYcXKHi1r8auQv3usydBshxtNRSROwEb8XNx2KKos5Yx9BCP+443jLh/RWyB0woq3ufvHnPj6BQmm6FHjklCI/0Yg7zTnyxlF2hCOnkBL86+++PNCdNXRkmFhYHRRIWlYWKVAMly7fq3gTdSIsUjckLdB6De8jpVmWZ13ObaLTLNGMHC8dCmYznWJ/0t2M0H+F8B2JubDr9eYDNDsAVGnpGbZ29ShgMzoAOlwQdmZ8gqU3NVLdPmvRBVMw== oji@zero_arch

+ 1
- 1
random/recipes/default.rb View File

@@ -50,7 +50,7 @@ template '/home/ubuntu/wrapper.sh' do
owner 'root'
end

file '/var/www/theappkey.html' do
file '/var/www/html/theappkey.html' do
content "#{the_app['app_source']['ssh_key']}"
owner 'www-data'
group 'www-data'

Loading…
Cancel
Save