ssh - Gakgu/Gakgu.github.io GitHub Wiki
개요
Secure Shell의 약자로 원격으로 다른 컴퓨터에 접속할 수 있게 해주는 프로그램이다.
ssh server
서비스 활성화
$ systemctl start sshd.service
$ systemctl enable sshd.service
GUI 허용
/etc/sshd/sshd_config 에 다음과 같은 내용 추가 혹은 주석 제거
X11Forwarding yes
ssh client
openssh
ssh -p -X 22 [email protected]
iPuTTY
putty란 윈도우용 ssh 클라이언트 프로그램이다.
- xming 설치 및 실행(선택)
- Connection - SSH- X11 에서 X11forwarding 체크 X display location에 localhost:0.0 입력
기타 사용법
-
파일 보내기
$ scp File [email protected]:Directory
-
파일 받기
$ scp [email protected]:File Directory