리눅스 ssh-keygen -lf

1 개요[ | ]

ssh-keygen -lf
ssh-keygen -lf 파일명 
ssh-keygen -f 파일명 -l

2 실행예시[ | ]

root@zetawiki:~# cat my-ssh-key.pem.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMq7C1kypGqf1AyIyl2EjNmP87McAnJQSNX2/c ... (생략) ... kH7z23To9lLsKuvcyZI3IchxAJumKAK+U/oIKjsqmSvmDSLk71f/J1p/soUOGlxDimDy6XQCrgYX root@zetawiki
root@zetawiki:~# ssh-keygen -lf my-ssh-key.pem.pub
2048 36:b2:91:6c:2a:8b:a2:9a:fc:96:0a:a6:14:3a:d9:c9  root@zetawiki (RSA)
root@zetawiki:~# ssh-keygen -f my-ssh-key.pem.pub -l
2048 36:b2:91:6c:2a:8b:a2:9a:fc:96:0a:a6:14:3a:d9:c9  root@zetawiki (RSA)
root@zetawiki:~# ssh-keygen -lf my-ssh-key.pem.pub | cut -d ' ' -f2
36:b2:91:6c:2a:8b:a2:9a:fc:96:0a:a6:14:3a:d9:c9

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}