    # File lib/fog/clodo/models/compute/server.rb, line 118
            def setup(credentials = {})
              requires :public_ip_address, :identity, :public_key, :username
              Fog::SSH.new(public_ip_address, username, credentials).run([
                %{mkdir .ssh},
                %{echo "#{public_key}" >> ~/.ssh/authorized_keys},
                %{passwd -l #{username}},
                %{echo "#{Fog::JSON.encode(attributes)}" >> ~/attributes.json},
              ])
            rescue Errno::ECONNREFUSED
              sleep(1)
              retry
            end