또 열심히 쓸데 없는 일을 해 버렸다. 원래는 분자 물질 수업 복습이랑 오늘 인턴 한 거 복습하려 했는데
홈페이지에 사진을 좀 쉽게 올리고 싶어서
sshfs를 이용해 보고 싶어졌다.
우선 siteground ssh를 허용시킨다음에
https://www.siteground.com/kb/how_to_log_in_to_my_shared_account_via_ssh_in_linux/
에서 시킨대로 하고,
bW67MEPu5pN3
$chmod 400 /etc/ssl/certs/private-key # 해야지 ssh-add가 되더라고 $ssh-add /etc/ssl/certs/private-key $sshfs dianebeu@77.104.168.39:./public_html/wp-content/uploads/ $local/path/directory -p 18765
sshfs를 할때 77.104.168.39:(hostname:) 다음에 “./”로 시작해야 해. 그냥 /public_html 로 시작하면 될줄 알았는데 안되더라고
끝