diff options
Diffstat (limited to 'internal/ssh/ssh.go')
-rw-r--r-- | internal/ssh/ssh.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/ssh/ssh.go b/internal/ssh/ssh.go index a3df9909..dfbd2281 100644 --- a/internal/ssh/ssh.go +++ b/internal/ssh/ssh.go @@ -7,7 +7,6 @@ package ssh import ( "fmt" "io" - "io/ioutil" "net" "os" "os/exec" @@ -190,7 +189,7 @@ func Listen(host string, port int, ciphers, macs []string) { log.Trace("SSH: New private key is generateed: %s", keyPath) } - privateBytes, err := ioutil.ReadFile(keyPath) + privateBytes, err := os.ReadFile(keyPath) if err != nil { panic("SSH: Failed to load private key: " + err.Error()) } |