DEVELOPER/os(31)
-
[Mac] ssh 접속 시 no matching host key type found
맥 업데이트 이후 외부서버 ssh 접속 시도 시 아래와 같은 문제 발생 Unable to negotiate with xxx.xxx.xxx.xxx port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss $ sudo vim /etc/ssh/ssh_config 아래 주석 해제 # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc # MACs hmac-md5,hmac-sha1,umac-64@openssh.com 맨 아래 다음과 같이 2줄 추가 Host * SendEnv LANG LC_* HostkeyAlgorithms ssh-dss,ssh-rsa KexAlgorithms +diffi..
2022.10.28 -
[Linux][CentOS] Getting Started with Podman
포드맨 시작하기 Podman은 libpod 라이브러리의 일부로 제공되는 유틸리티입니다. 컨테이너를 만들고 유지 관리하는 데 사용할 수 있습니다. 다음 자습서에서는 Podman을 설정하고 몇 가지 기본 명령을 수행하는 방법을 알려줍니다. CentOS 8 설치 시 podman을 기본 라이브러리로 포함하고 있습니다. Podman에 익숙해지기 코드 샘플은 root가 아닌 사용자로 실행하기 위한 것이며 sudo권한을 필요로 합니다.. 도움을 받다 도움을 받고 Podman이 어떻게 작동하는지 알아보려면 다음 도움말 을 사용할 수 있습니다 . $ podman --help $ podman --help 자세한 내용은 맨페이지를 참조하십시오. $ man podman $ man podman- 이미지 검색, 가져오기 및 나열..
2022.10.04 -
[Linux][CentOS] firewalld 설정
# 설치 안되어 있는 경우 yum install firewalld systemctl start firewalld systemctl enable firewalld # 서비스 재시작 firewall-cmd --reload # 설정파일 위치 cat /etc/firewalld/firewalld.conf # 기타 명령어 # 사전 정의된 존 목록 출력 firewall-cmd --get-zones # 전체 존 목록을 상세하게 출력 firewall-cmd --list-all-zones # 기본 존 출력 firewall-cmd --get-default-zone # 활성화된 존 출력 firewall-cmd --get-active-zone # 새로운 존 추가 firewall-cmd --permanent --new-zone=..
2022.10.04 -
[Linux] systemd 서비스 제거
systemctl stop [servicename] systemctl disable [servicename] rm /etc/systemd/system/[servicename] rm /etc/systemd/system/[servicename] # and symlinks that might be relatedrm /usr/lib/systemd/system/[servicename] rm /usr/lib/systemd/system/[servicename] # and symlinks that might be relatedsystemctl daemon-reload systemctl reset-failed
2022.10.04 -
[Linux][CentOS] 방화벽(firewalld)에서 특정 아이피 차단
중국발 MSSQL SA계정 접속 시도 때문에 작업. ipv4 대역이 중구난방이라서 범위로 차단 불가능한 상황에서 처리. # 방화벽 상태 확인 firewall-cmd --state # firewall 특정 아이피 차단 firewall-cmd --permanent --add-rich-rule="rule family='ipv4' source address='차단할아이피' drop" # 방화벽 설정 리로드 firewall-cmd --reload
2022.06.20 -
[MacOS] MSSQL ODBC 설치
Microsoft ODBC Driver 17 for SQL Server Windows x64 x86 MAC brew tap microsoft/mssql-release brew update HOMEBREW_NO_ENV_FILTERING=1 ACCEPT_EULA=Y brew install msodbcsql17 mssql-tools Ubuntu sudo su curl | apt-key add - #Download appropriate package for the OS version #Choose only ONE of the following, corresponding to your OS version #Ubuntu 16.04 curl > /etc/apt/sources.list.d/mssql-release.li..
2022.02.10