의미: 추가된 ID: .ssh/example_rsa((null))

의미: 추가된 ID: .ssh/example_rsa((null))

다음을 사용하여 서버에 SSH로 연결했습니다.

ssh -i ~/.ssh/example_rsa root@xxxxxxxxx

나는 다음과 같은 응답을 받았습니다.

Identity added: .ssh/example_rsa ((null))

나는 이해하고 싶습니다:

  1. 무엇에 추가되었나요?
  2. ((null))결국 은 무슨 뜻인가요 ?

답변1

달리기

ssh -i ~/.ssh/example_rsa root@xxxxxxxxx

인쇄하지 않음

Identity added: .ssh/example_rsa ((null))

다음을 실행하면 인쇄됩니다.

ssh-add ~/.ssh/example_rsa

null은 다음을 의미합니다.논평ID 파일에서(원천). 다양한 키를 쉽게 구별할 수 있도록 개인 키에 주석이 저장되어 있을 수 있습니다.

fprintf(stderr, "Identity added: %s (%s)\n", filename, comment);

관련 정보