SSH Config

# To keep alive ssh
Host *
	ControlPersist yes
	ControlMaster auto
	ControlPath ~/.ssh/master-%r@%h:%p
	ServerAliveInterval 30

Host git.xxx.com
    HostName        git.xxx.com
	User            xxx
	IdentityFile    ~/.ssh/id_rsa
			
Host github.com
	HostName        github.com
	User            xxx
	IdentityFile    ~/.ssh/github
	ProxyCommand    connect -S 127.0.0.1:xxx %h %p #socket proxy

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章