Skip to content
/ sshd Public

golang single file sshd server with gliderlabs/ssh and password auth . No root privilege required

License

Notifications You must be signed in to change notification settings

QGB/sshd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usage:

./sshd-linux-aarch64 
2022/07/10 05:12:18 starting ssh server on port 2222... tty.go

connect:

ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa 127.0.0.1 -p 2222

default password: qgb

build:

$ ./build.sh 
++ go get
++ export CGO_ENABLED=0 GOOS=linux GOARCH=arm64
++ CGO_ENABLED=0
++ GOOS=linux
++ GOARCH=arm64
++ go build -trimpath -ldflags '-s -w -buildid=' -o sshd-linux-arm64
++ export CGO_ENABLED=0 GOOS=linux GOARCH=amd64
++ CGO_ENABLED=0
++ GOOS=linux
++ GOARCH=amd64
++ go build -trimpath -ldflags '-s -w -buildid=' -o sshd-linux-amd64


download:

https://github.com/qgb/sshd/releases

About

golang single file sshd server with gliderlabs/ssh and password auth . No root privilege required

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published