Comments (3)
Of course tinysshd-printkey prints the public-key (sorry for the typo "s/fingerprint/public-key/").
But I think You don't need to convert the output to the sha256 fingerprint and check the fingerprint.
You can use the output directly. E.g. directly to the .ssh/known_host file.
echo "`hostname`:22 `tinysshd-printkey /etc/tinyssh/sshkeydir`" >> .ssh/known_host
from tinyssh.
Hello,
tinysshd-printkey prints the fingerprint.
Example:
# tinysshd-makekey keydir
# tinysshd-printkey keydir
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHfU40DKe3EgstiZfl+Tss8ijkh2rj/yxSTdZCE+/GXK
from tinyssh.
No, tinysshd-printkey does not print the fingerprint. It prints the base64 representation of the public key. To get the fingerprint you have to redirect the output to a file, copy that file over to a machine that has OpenSSH, and then use ssh-keygen to display the fingerprint.
# tinysshd-printkey > textkeyfile
Then move textkeyfile to a machine that has openssh, and then
# ssh-keygen -lf textkeyfile
Key: ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGAfBnHfUz3xS8cAFho3Rcfo3gEia08Ge+7JIDVjN+bk
Fingerprint: 256 SHA256:skPLlpa08M2z4cs/7RUEnb3vcaTmCqjOj03kBjozh/M
from tinyssh.
Related Issues (20)
- improve documentation ; provide howto HOT 1
- Honor openssh out max packet size
- aarch64 build HOT 4
- update to the new name crypto HOT 1
- ControlMaster triggers BUG: (protocol error){channel.c:57} HOT 5
- Client? HOT 4
- SCP does not work in latest version HOT 3
- Inconsistent behavior of getln() on error HOT 1
- Help needed to reach stable and ready-for-use-in-production-environment states?
- Does not link properly to libsodium
- ed25519-sk support? HOT 7
- #failed#
- Nice mixture of wrong, inconsistent and non-relevant information HOT 1
- Where to get GPG key to verify your signatures? HOT 2
- Systemd services don't work HOT 1
- Feature Request: Add multiplexing functionality HOT 1
- CVE-2023-48795 / Terrapin Attack HOT 2
- How to specify listening port? HOT 1
- License update / refresh? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyssh.