# 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 추가
저장
# systemctl reload sshd.service
※ SELINUX 사용시(필수 조치)
# yum install policycoreutils-python
# semanage port -a -t ssh_port_t -p tcp 22
# semanage port -l | grep ssh
※ FIREWALL 사용시(접속문제 발생시 확인)
# firewall-cmd --list-all | grep ssh
: services: dhcpv6-client ssh 등의 결과가 나오지 않으면 아래 절차 수행
# firewall-cmd --permanent --zone=public --add-service=ssh
(or # firewall-cmd --permanent --zone=public --add-port=22/tcp)
# firewall-cmd --reload
※ ssh 접속 관련 로그 확인
# cat /var/log/secure | grep sshd
Ubuntu 참고: http://programmingskills.net/archives/315
SSH(Secure SHell) 설치와 사용법(Ubuntu) – SW Level Up!
Telnet은 서버와 클라이언트 사이에 오가는 데이터를 암호화하지 않는다는 심각한 보안 결함이 있습니다. 그래서 실제 서비스를 하는 서버에 접속할 때는 SSH를 사용해야 합니다. 우분투 리눅스엔 SSH 클라이언트는 기본으로 설치되어있지만, SSH 서버는 설치해야 합니다. 클라이언트가 설치된 컴퓨터로 서버가 설치된 컴퓨터에 원격 접속하는 것입니다. SSH 서버 실행 파일은 /usr/sbin/sshd이고, SSH 클라이언트 실행 파일은 /usr/bin/ssh
programmingskills.net
# sudo apt-get install openssh-server openssh-client ssh-askpass
Putty Download: https://www.putty.org/
Download PuTTY - a free SSH and telnet client for Windows
Is Bitvise affiliated with PuTTY? Bitvise is not affiliated with PuTTY. We develop our SSH Server for Windows, which is compatible with PuTTY. Many PuTTY users are therefore our users as well. From time to time, they need to find the PuTTY download link. W
www.putty.org
Multi PuTTY Manager DownLoad: https://multiputtymanager.sourceforge.io/
Multi PuTTY Manager
Download Multi PuTTY Manager for free. Multi PuTTY Manager (MPManager) helps to open and manage multiple PuTTY sessions in tabs. All PuTTY sessions are managed and stored under folders.
sourceforge.net
WinSCP Download: https://winscp.net/
WinSCP 소개 :: WinSCP
WinSCP 소개 WinSCP는 Windows용 그래픽 유저 인터페이스 SFTP 및 FTP 클라이언트 프로그램이고 오픈소스 프리웨어입니다. 레거시 SCP 프로토콜 역시 지원합니다. 이 프로그램을 사용하여 로컬 컴퓨터와
winscp.net
PuttyCM(PuTTY Connection Manager) Download: https://www.thegeekstuff.com/2009/03/putty-extreme-makeover-using-putty-connection-manager/
PuTTY: Extreme Makeover Using PuTTY Connection Manager
PuTTY: Extreme Makeover Using PuTTY Connection Manager by Ramesh Natarajan on March 16, 2009 This article is part of the on-going Software For Geeks series. PuTTY Connection Manager was mentioned in the 12 PuTTY add-ons that we discussed a while back. One
www.thegeekstuff.com
FileZilla Download : https://filezilla-project.org/download.php?type=client
Download FileZilla Client for Windows (64bit)
Download FileZilla Client for Windows (64bit) The latest stable version of FileZilla Client is 3.47.1 Please select the file appropriate for your platform below. Please select your edition of FileZilla Client FileZilla FileZilla with manual FileZilla Pro S
filezilla-project.org
'OS > Linux' 카테고리의 다른 글
[CentOS 7] Apache HTTP Server/Tomcat 연동(mod_jk, Source Compile) (0) | 2020.04.04 |
---|---|
[Linux] HDD 추가하기(LVM) (0) | 2020.03.10 |
[Linux/UNIX] 로그 확인시 특정라인 이후 내용 보는 팁(cat, grep, sed 활용) (0) | 2020.03.05 |
[GNU/Linux] LibreOffice Install&Uninstall (0) | 2020.03.04 |
[CentOS 7] grub2 설정 관련 (0) | 2019.07.07 |