Sshid Installer

JavaScript

Automated SSH and server provisioning installer for Linux environments with secure configuration, key management, system hardening, and deployment automation.

Stars
17
Forks
1
Downloads
N/A
Open Issues
0
Files main

Repository Files

Loading file structure...
app/Models/Keys.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Keys extends Model
{
    public $timestamps = false;

    protected $fillable = [
        'user_id',
        'key',
        'key_hash',
    ];

    protected $hidden = [
        'id',
        'user_id',
        'key_hash',
    ];

    protected $casts = [
        'key' => 'encrypted',
    ];

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}