본문 바로가기

분류 전체보기213

rsync / ssh-keygen / ssh-copy-id 동일한계정으로 접속하여 처리하는경우 root제외 $ ssh-keygen $ ssh-copy-id 192.168.99.44 $ rsync -avz /home/유저명/rsync/ 유저명@192.168.99.44:/home/유저명/rsync/ [유저명@gs2019 rsync]$ rsync -avz /home/유저명/rsync/ 유저명@원격지IP:/home/유저명/rsync/ sending incremental file list sent 134 bytes received 12 bytes 97.33 bytes/sec total size is 143 speedup is 0.98 [유저명@gs2019 rsync]$ 2021. 6. 1.
ssl / certbot / https ================================================= yum install epel-release yum install snapd # ln -s /var/lib/snapd/snap /snap # systemctl enable --now snapd.socket Created symlink from /etc/systemd/system/sockets.target.wants/snapd.socket to /usr/lib/systemd/system/snapd.socket. # systemctl enable --now snapd.socket # # snap install core # snap install snap-store # snap install --classic certbo.. 2021. 4. 7.
SSL / certbot-auto / 1] SSL 신규등록 wget https://dl.eff.org/certbot-auto chmod +x certbot-auto sudo mv certbot-auto /usr/local/bin cd /usr/local/bin export EMAIL_ALERTS="이메일" sudo /usr/local/bin/certbot-auto certonly --standalone -d www.도메인1 -d 도메인2 --preferred-challenges http --agree-tos -n -m $EMAIL_ALERTS --keep-until-expiring tomcat 시작 2] SSL 갱신 Tomcat 종료 /usr/local/bin/certbot-auto certonly --standalone -d 도메인1 -d.. 2021. 3. 8.
AWS / pem / ssh / sftp user@MacBookPro xxx % ssh -p 포트번호 -i 파일명.pem 유저명@도메인 또는 IP user@MacBookPro xxx % sftp -P 포트번호 -i 파일명.pem 유저명@도메인 또는 IP 2021. 2. 14.
반응형