728x90
반응형

1. ~/.ssh/config 생성

Host Server
  HostName IP주소
  User 유저이름
  Port 22
  IdentityFile pem파일위치

 

 

2. pem 파일 권한 수정

chmod 400 pem파일위치

 

3. 이름으로 ssh 접속

$ssh Server
728x90
반응형

+ Recent posts