-
Download the RuxOS source code:
git clone --branch dev https://github.com/syswonder/ruxos.git cd ruxos
-
Import the sshd App directory:
git clone https://github.com/syswonder/rux-sshd.git ./apps/c/openssh
-
Configure passwordless login. On the SSH client, run:
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519
Copy the content of the generated
~/.ssh/id_ed25519.pub
file toapps/c/openssh/rootfs/root/.ssh/authorized_keys
:cat ~/.ssh/id_ed25519.pub >> apps/c/openssh/rootfs/root/.ssh/authorized_keys
-
Run sshd:
make run ARCH=aarch64 A=apps/c/openssh V9P=y MUSL=y NET=y V=2
-
Use the client to connect:
ssh -vvv -p 5555 syswonder@localhost -i ~/.ssh/id_ed25519
-
Notifications
You must be signed in to change notification settings - Fork 0
syswonder/rux-sshd
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published