ssh-keyscan, ssh-keygen 예시






$ ssh-keyscan github.com


github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccK...





$ ssh-keyscan -H github.com


|1|IVo9dmTn5FMnAkZ+4xWUuevH5To=|BQBOJ80KCa5BxDJxjGV+ElrfSvw= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccK..





$ ssh-keygen -lf <(ssh-keyscan github.com 2>/dev/null)


2048 SHA256:nThbg6kXUpJWGl7E1IGO,,, github.com (RSA)







$ ssh-keygen -lf <(ssh-keyscan -H github.com 2>/dev/null)


2048 SHA256:nThbg6kXUpJWGl7E1IGO... (RSA)

Posted by 김용환 '김용환'

댓글을 달아 주세요