'[Mac]'에 해당되는 글 3건

  1. 2016.11.16 ssh 접속이 느릴 때
  2. 2016.03.02 vim syntax highlight 컬러 적용
  3. 2015.06.24 맥에서 ls color 바꾸기

ssh 접속이 느릴 때

[Mac] 2016. 11. 16. 23:37
반응형

ssh 접속이 느려서 이것저것 테스트를 해봤는데


아이피를 입력하면 접속이 빠른데 hostname 을 입력하면 접속이 느렸다


그래서 /etc/ssh/ssh_config 파일에 AddressFamily inet 를 추가해줬다


기본은 AddressFamily any 가 주석처리 돼있다


http://jeromejaglale.com/doc/mac/fix_ssh_connection_delays


위 글에서 2015년 12월 29일 댓글 참고.

반응형

'[Mac]' 카테고리의 다른 글

vim syntax highlight 컬러 적용  (0) 2016.03.02
맥에서 ls color 바꾸기  (0) 2015.06.24
Posted by FeliZ_하늘..
,
반응형

http://springy.tistory.com/735


sudo vi /usr/share/vim/vimrc


http://springy.tistory.com/735

set ai                  " auto indenting

set history=100         " keep 100 lines of history

set ruler               " show the cursor position

syntax on               " syntax highlighting

set hlsearch            " highlight the last searched term

filetype plugin on      " use the file type plugins


" When editing a file, always jump to the last cursor position

autocmd BufReadPost *

\ if ! exists("g:leave_my_cursor_position_alone") |

\ if line("'\"") > 0 && line ("'\"") <= line("$") |

\ exe "normal g'\"" |

\ endif |

\ endif


반응형

'[Mac]' 카테고리의 다른 글

ssh 접속이 느릴 때  (0) 2016.11.16
맥에서 ls color 바꾸기  (0) 2015.06.24
Posted by FeliZ_하늘..
,

맥에서 ls color 바꾸기

[Mac] 2015. 6. 24. 19:14
반응형

http://osxdaily.com/2012/02/21/add-color-to-the-terminal-in-mac-os-x/


$ vi .profile

export CLICOLOR=1

export LSCOLORS=GxFxCxDxBxegedabagaced

$ source .profile

반응형

'[Mac]' 카테고리의 다른 글

ssh 접속이 느릴 때  (0) 2016.11.16
vim syntax highlight 컬러 적용  (0) 2016.03.02
Posted by FeliZ_하늘..
,