기본적인 사용법 #

ssh -i "your-ssh-key-file.key" name@ip"

ssh의 개인키 파일은 잘 보관해두어야 합니다.

링크에서 OCI 설정을 잘 설명해주고 있습니다.

개인키 대신 password로 접근 가능하게 변경 #

ssh -i "your-ssh-key-file.key" name@ip"

을 통해 원격에 접속합니다. ubuntu를 기준으로합니다.

/etc/ssh에서 sshd_config 파일을 수정합니다.

# /etc/ssh

sudo vim sshd_config

PasswordAuthentication 설정을 no에서 yes로 변경합니다.

# /etc/ssh/sshd_config file

# PasswordAuthentication no
PasswordAuthentication yes