주 메뉴 열기

wwiki β

바뀜

SSH

314 바이트 추가됨, 2024년 2월 27일 (화)
ssh config
# user's configuration file (~/.ssh/config)
# system-wide configuration file (/etc/ssh/ssh_config)
<syntaxhighlight>
Host github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
UserKnownHostsFile ~/.ssh/known_hosts
</syntaxhighlight>
=== PreferredAuthentications ===
=== IdentityFile ===
기본값은 ''~/.ssh/id_rsa'', ''~/.ssh/id_ecdsa'', ''~/.ssh/id_ecdsa_sk'', ''~/.ssh/id_ed25519'', ''~/.ssh/id_ed25519_sk'' and ''~/.ssh/id_dsa''. 이다.
 
윈도우에서는 버전에 따라서 전체경로를 <code>c:/User/[user name]/.ssh/id_rsa</code> 등으로 지정해야 하는 경우가 있다.
== sshd config ==
편집
2,431