SFTPλ₯Ό ν΅ν νμΌ μ λ‘λ μμ . κ°λ§Ήμ μ IDλ₯Ό μ λ ₯λ°μ ν, νμ κ°λ§Ήμ μ μ‘°νν΄μ νμΌμ μ λ‘λ ν©λλ€. νμΌ μ λ‘λ κ³Όμ μμ SFTPλ₯Ό μ¬μ©ν©λλ€. νμΌ μ λ‘λκ° μλ£λλ©΄, μ λ‘λλ νμΌμ λ€μ΄λ‘λ ν μ μμ΅λλ€.
SFTPλ₯Ό ν΅ν νμΌ μ λ‘λ/λ€μ΄λ‘λλ λ‘컬 νκ²½μμ μ§νν©λλ€.
Mac SFTP μ€μ μ νκΈ° μ , κ°μΈμ 보 λ³΄νΈ λ° λ³΄μ
μμ μ 체 λμ€ν¬ μ κ·Ό κΆν
μ νμ©ν΄μΌ ν©λλ€.
# SFTP μ€ν
$ sudo systemsetup -setremotelogin on
# SFTP μ€νμ¬λΆ νμΈ
$ sudo systemsetup -getremotelogin
Remote Login: On
$ sudo launchctl list | grep ssh
- 0 com.openssh.sshd
# μ μ
$ sftp $(whoami)@localhost
The authenticity of host 'localhost (::1)' can't be established.
ED25519 key fingerprint is SHA256:/XXXXXXXXXXXXAAAAQQQQXXXXQQQQVVVVAAAAVVVVFF.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Connected to localhost.