-
LINUX SSH 접속시 Redhat insight 문구 삭제 하는 방법System of Infra/Linux System 2023. 7. 10. 22:29728x90반응형
LINUX SSH 접속 시 Redhat insight 문구 삭제 하는 방법
################################### WARNING!! ##################################### # # # # # Unauthorized access to this system is forbidden and will be prosecuted by law. # # By accessing this system, you agree that your actions may be monitored # # if unauthorized usage is suspected. # # # ######################################################################################## Activate the web console with: systemctl enable --now cockpit.socket This system is not registered to Red Hat Insights. See https://cloud.redhat.com/ To register this system, run: insights-client --register
▶ 리눅스 서버에 SSH 접속 시 Redhat(Rhel) OS를 운영 중인 환경에서는 "This system is not registered to Red Hat Insights. See https://cloud.redhat.com To register this system, run: insights-client --register"라는 문구 출력이 등장하게 되어 불필요 한경우 삭제할 수 있습니다. (해당 URL은 Redhat Cloud site에 접속)
[root@localhost ~]# dnf remove insights-client 서브스크립션 관리 레포지터리를 업데이트하고 있습니다. 소비자 ID를 읽을 수 없습니다 이 시스템은 Red Hat 관리서버에 등록되어 있지 않습니다. subscription-manager를 사용하여 등록 할 수 있습니다. 종속성이 해결되었습니다. ================================================================================================== 꾸러미 구조 버전 레포지터리 크기 ================================================================================================== 삭제 중: insights-client noarch 3.1.5-1.el8 @AppStream 1.3 M 사용하지 않는 종속 꾸러미 제거: python3-magic noarch 5.33-20.el8 @anaconda 19 k 연결 요약 ================================================================================================== 삭제 2 꾸러미 사용 가능한 공간 : 1.3 M 진행 할 까요? [y/N]: y 연결 확인 실행 중 연결 확인에 성공했습니다. 연결 시험 실행 중 연결 시험에 성공했습니다. 연결 실행 중 준비 중 : 1/1 스크립트릿 실행 중: insights-client-3.1.5-1.el8.noarch 1/1 스크립트릿 실행 중: insights-client-3.1.5-1.el8.noarch 1/2 삭제 중 : insights-client-3.1.5-1.el8.noarch 1/2 스크립트릿 실행 중: insights-client-3.1.5-1.el8.noarch 1/2 Unit insights-register.path does not exist, proceeding anyway. 삭제 중 : python3-magic-5.33-20.el8.noarch 2/2 스크립트릿 실행 중: python3-magic-5.33-20.el8.noarch 2/2 확인 중 : insights-client-3.1.5-1.el8.noarch 1/2 확인 중 : python3-magic-5.33-20.el8.noarch 2/2 설치된 제품이 업데이트되었습니다. 제거되었습니다: insights-client-3.1.5-1.el8.noarch python3-magic-5.33-20.el8.noarch 완료되었습니다!
▶ dnf remove insights-client 명령어를 통해서 insights-client --register 패키지를 삭제하도록 합니다.
[root@localhost ~]# ssh localhost The authenticity of host 'localhost (::1)' can't be established. ECDSA key fingerprint is SHA256:E2veGvQ7/ZXYvf9uKmA+tIcDRgXoa/Pw7AXWGLiPpk0fhjfgj. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts. root@localhost's password: !@#$% ################################### WARNING!! ##################################### # # # # # Unauthorized access to this system is forbidden and will be prosecuted by law. # # By accessing this system, you agree that your actions may be monitored # # if unauthorized usage is suspected. # # # ######################################################################################## Activate the web console with: systemctl enable --now cockpit.socket
▶ insights-client 패키지를 삭제한 후 SSH를 통해서 Localhost에 접속하게 되면 https://cloud.redhat.com으로 연결하라는 문구가 삭제 된것을 확인할 수 있습니다.
2022.06.27 - [System of Infra/LINUX] - LINUX Banner(Motd, issue.net, issue) 설정하는 방법
PS. 포스팅의 내용은 제 기준으로 작성한 것이기 때문에 참고해서 보시면 감사하겠습니다.
포스팅 과정의 오류 및 오타 그리고 궁금한 점에 대해서는 댓글 남겨주세요.
728x90반응형'System of Infra > Linux System' 카테고리의 다른 글
LINUX JAVA(JDK) Version 1.8 설치하는 방법 (2) 2023.07.12 LINUX SSH 접속시 cockpit.socket 문구 삭제 하는 방법 (0) 2023.07.11 LINUX Virbr0 어댑터 삭제하는 방법 (6) 2023.02.16 LINUX 특정 프로세스 CPU 점유율 확인하는 방법 (13) 2022.12.29 LINUX 본딩(Bonding) 네트워크 이중화 설정하는 방법 (17) 2022.08.11