Skip to content
/ sftp Public

πŸ’» SFTP 파일 Upload/Download 예제.

Notifications You must be signed in to change notification settings

jun-labs/sftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SFTP

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.

Releases

No releases published

Packages

No packages published

Languages