sshd_config(d가 붙음), 클라이언트 설정은 ssh_config.PermitRootLogin no, PasswordAuthentication no(키 전용), MaxAuthTries 3.authorized_keys에, 개인키는 클라이언트에 둔다. 권한은 ~/.ssh 700, 키 파일 600 — 느슨하면 SSH가 키를 무시한다.-L 로컬(내 쪽에서 원격 너머로) / -R 원격(원격에서 내 쪽으로) / -D 동적(SOCKS). scp 포트는 대문자 -P, ssh는 소문자 -p.