Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORACLE CLOUD SSH 접속하기 #8

Open
yoongoing opened this issue Jan 31, 2021 · 3 comments
Open

ORACLE CLOUD SSH 접속하기 #8

yoongoing opened this issue Jan 31, 2021 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation To do

Comments

@yoongoing
Copy link
Member

yoongoing commented Jan 31, 2021

지난번 이슈에서 언급했듯이 여러분의 의견을 종합하여

🙌🙌🙌🙌🙌🙌 오라클 클라우드 프리티어 계정 개설 및 서버 만들었습니다🙌🙌🙌🙌🙌🙌

공개키 비밀키는 예쁘고 안전하게 전송했으니, 저의 도큐먼트를 참고하여 ssh로 접속해보시길 바랍니다.
서버 스펙은 다음과 같습니다.

centOS와 ubuntu중 무엇을 할까 하다가 ubuntu20.04로 결정하였고 MAC OS 기준, 터미널로 접속합니다!
(window는 putty깔아야함)

개발환경 : Ubuntu 20.04
공개키 : [파일이름].key.pub
비밀키 : [파일이름].key

1. ssh디렉토리 생성(있다면 스킵)

mkdir ~/.ssh

2. 다운받은 비밀키, 공개키 ssh 디렉토리로 복사

cp /Downloads/[다운받은 비밀키] ~/.ssh
cp /Downloads/[다운받은 공개키] ~/.ssh

3. 비밀키 권한변경

cd ~/.ssh
chmod 600 [다운받은 비밀키]

4. config 생성

vim config

vim에 다음과 같이 적어주세요.

Host [접속할 때 이름]
HostName [IP 를 입력 합니다]
User [사용자 이름]
IdentityFile ~/.ssh/[다운받은 비밀키]

//[]의 내용은 공개키 비밀키 첨부할 때 같이 보내드릴게요.

다들 잘 따라오셨나요? 잘 했다면, ssh로 접속합니다.

저는 config의 Host를 bletcher라고 했기에 터미널에 다음과 같이 입력했습니다.
스크린샷 2021-02-01 오후 12 57 53

이렇게 보이면 성공한거에요. 중간에
연결하시겠습니까? => yes
이거 입력해주시면 이렇게 나타납니다.
스크린샷 2021-02-01 오후 12 58 18

ls 치시고, 제가 bletcher_mix 레포 깃 클론해논것 확인되면 완료입니다. 수고!
스크린샷 2021-02-01 오후 12 58 35

👏클라우드 다시판거라 저는 아나콘다랑 기타등등 환경설정하고, 다음번 이슈에 IP통신하는법으로 찾아올게요 안녕👏

@yoongoing yoongoing self-assigned this Feb 1, 2021
@yoongoing yoongoing added documentation Improvements or additions to documentation To do labels Feb 1, 2021
@yoongoing
Copy link
Member Author

다들 빨리빨리 하셔서 수요일까지 인증샷 남겨주는건 힘들겠쬬? ^_ㅠ

@Seogeurim
Copy link
Member

이슈 확인했습니다 !! 상세한 설명 정말 감사합니당 :) 저는 2/2 화요일 밤에 완료해서 여기에 댓글로 인증샷 남기겠습니다 !! 😊

@Seogeurim
Copy link
Member

image
확인했습니다 !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation To do
Projects
Bletcher Project.
  
Awaiting triage
Development

No branches or pull requests

2 participants