ssh (1) 썸네일형 리스트형 [CentOS 7] SSH/SFTP 설정 # yum install openssh-server openssh-clients openssh-askpass # vi /etc/ssh/sshd_config Port 22 라인의 주석 제거 LoginGraceTime 2m 라인의 주석 제거하고 2m을 30으로 변경 PermitRootLogin yes 라인의 주석 제거하고 yes를 no로 변경 MaxAuthTries 6 라인의 주석 제거하고 6을 3으로 변경 PermitEmptyPasswords no 라인의 주석 제거 X11Forwarding yes 라인의 yes를 no로 변경 #Subsystem sftp /usr/libexec/openssh/sftp-server 라인 주석 처리하고, Subsystem sftp internal-sftp 추가 저장 # syst.. 이전 1 다음