top of page

Server romote settings (ssh) for mac

  • 작성자 사진: lee jisoo
    lee jisoo
  • 2019년 12월 3일
  • 1분 분량

1) 서버 ip 확인

ssh를 이용하여 원격 접속하기 위해 우선 서버컴퓨터를 켜고, ip를 확인한다.

쉘을 켜고 ifconfig 입력

192.168.x.xx와 같이 ip주소를 확인할 수 있다.

재부팅을 할 경우 ip주소가 바뀔 수 있는데 ip 고정을 하면 된다.

서버에서 다음과 같은 명령어를 입력하여 파일을 수정한다.

sudo vi /etc/network/interfaces

파일에 다음과 같은 내용을 추가한다.

auto eth0

iface eth0 inet static

address xxx.xxx.xxx.xxx

netmask xxx.xxx.xxx.xxx

broadcast xxx.xxx.xxx.xxx

gateway xxx.xxx.xxx.xxx

dns-nameservers xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

그러면 ip 고정 완료

서버 접속 허용 : https://jootc.com/p/201808031462


2) 맥 터미널에서 서버에 접속

맥 터미널에서 다음과 같은 명령어 입력

ssh administrator@192.168.x.xx

administrator에는 본인 서버컴퓨터의 관리자이름이 들어오면 된다.

 
 
 

최근 게시물

전체 보기
Server settings for Deep Learning

OS: Ubuntu 18.04 GPU: Titan RTX (x2) [team viewer] 공식 홈페이지에서 다운받은 후 설치파일 실행하여 install 설치되지 않는 문제 : 서버를 main server로 함으로써 해결...

 
 
 

댓글


게시물: Blog2_Post

©2019 by Jisoo Lee. Proudly created with Wix.com

bottom of page