centos 6 - yum update 오류 발생시 해결방법

Dev Tips/xUnix|2020. 12. 24. 16:46

 

echo "https://vault.centos.org/6.10/os/x86_64/" > /var/cache/yum/x86_64/6/base/mirrorlist.txt

echo "http://vault.centos.org/6.10/extras/x86_64/" > /var/cache/yum/x86_64/6/extras/mirrorlist.txt

echo "http://vault.centos.org/6.10/updates/x86_64/" > /var/cache/yum/x86_64/6/updates/mirrorlist.txt

 

yum update

 

 

댓글()

centos - sshfs 로 원격 디스크 마운트하기

Dev Tips/xUnix|2020. 4. 17. 21:24

yum install sshfs

 

마운트할 디렉토리 생성

mkdir -p /backup

 

sudo sshfs -o allow_other user@x.x.x.x:/backups/server1 /backup

 

 

댓글()

SSH 접속시 - permissions 0xxx for are too open 오류 발생시

Dev Tips/xUnix|2020. 4. 17. 17:58

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
Permissions 0644 for './***.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: ./***.pem
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

 

 

아래 명령어로 해결하면 된다.

chmod 600 ~/.ssh/***.pem

 

댓글()