Study Memory Work
[Linux] SSH / 사용자PC에서 서버PC 제어하기 / 서버 컴퓨터 원격 접속 본문
- SSH : 가상의 서버 컴퓨터(리눅스)에 원격으로 접속하기 위한 보안 프로토콜.
- 준비 :
- 서버 : SSH가 깔려있고, Active 상태.
서버 유저명/유저패스워드, 서버 IP
- 클라이언트(사용자) : SSH Client가 깔려있는 상태.
- Client PC에서 서버 접속하기
> ssh hs@192.168.56.12 // 서버 '유저명@IP' 로 검색
The authenticity of host '192.168.56.12 (192.168.56.12)' can't be established.
ECDSA key fingerprint is SHA256:Vad9J4iJe2u3qRNnsnRAOO9cNvQgmtl7pkfepZPsxDI.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes // yes 입력
Warning: Permanently added '192.168.56.12' (ECDSA) to the list of known hosts.
hs@192.168.56.12's password: // pw 입력
Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 5.15.0-48-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
10 updates can be applied immediately.
4 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
Your Hardware Enablement Stack (HWE) is supported until April 2025.
Last login: Wed Sep 21 12:05:21 2022 from 192.168.56.1
서버$ // 접속 성공
이렇게 접속하고 나면 윈도우 디렉토리 위치에서 서버 위치로 cmd 내 위치가 바뀐다.
이렇게 원격으로 서버 컴퓨터를 제어할 수 있다.
'Linux (Ubuntu, macOS)' 카테고리의 다른 글
[Linux] 리눅스와 리눅스 사이 파일 이동하기 (scp 명령어) (0) | 2022.11.14 |
---|---|
[Linux] 실무에 자주 쓰는 명령어 (0) | 2022.10.06 |
[Linux] Permission 권한 (0) | 2022.09.29 |
[Linux] Multi User / 다중 사용자 시스템 (0) | 2022.09.29 |
[Linux] 항상 실행되는 개념 / Deamon (0) | 2022.09.29 |