tel.0sn.net-ssh

command module
v0.0.0-...-2826253 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 11 Imported by: 0

README

tel.0sn.net-ssh

$ ssh localhost -p 8022

Press 'q' to exit.
--------------------------
tel.0sn.netへようこそ!
_       _   ___                         _   
| |_ ___| | / _ \ ___ _ __    _ __   ___| |_ 
| __/ _ \ || | | / __| '_ \  | '_ \ / _ \ __|
| ||  __/ || |_| \__ \ | | |_| | | |  __/ |_ 
 \__\___|_(_)___/|___/_| |_(_)_| |_|\___|\__|
--------------------------
あなたは 1 人目の訪問者です。
--------------------------
Web: https://0sn.net
--------------------------
Connection to localhost closed.

使い方

$ go build -o main

#必ず最初にホストキーの生成をする
$ ssh-keygen -f host.key

#デフォルトでは8022で待ち受け
$ ./main
$ PORT=8000 ./main
Docker
$ docker compose build

#必ず最初にホストキーの生成をする
$ ssh-keygen -f host.key

$ docker compose up -d

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL