2020年10月13日 星期二

ssh 登入錯誤

登入錯誤訊息
Unable to negotiate with 192.168.0.253 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

登入錯誤訊息
Unable to negotiate with 192.168.0.253 port 22: no matching cipher found. Their offer: 3des-cbc

ssh 加入相關參數
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oCiphers=+3des-cbc 192.168.0.253

編輯 ~/.ssh/config
Host *
  ServerAliveInterval 10
  HostKeyAlgorithms +ssh-rsa
  PubkeyAcceptedKeyTypes +ssh-rsa

Proxmox VE 6.x 錯誤訊息 short read on command socket (16 !=0)(500)

Proxmox 6.x 錯誤訊息
short read on command socket (16 !=0)(500)

解決方式
systemctl restart lxc.service

Proxmox Backup Server 1.0.1-1 安裝摘要

mv /etc/apt/sources.list.d/pbs-enterprise.list /etc/apt/sources.list.d/pbs-enterprise.list.bak
echo "deb http://download.proxmox.com/debian/pbs buster pbs-no-subscription"> /etc/apt/sources.list.d/pbs-no-subscription.list

apt update
apt upgrade -y

Cisc, Netgear VLAN 設定摘要

Cisco
interface GigabitEthernet1/0/1
switchport access vlan 200
switchport mode access

Netgear
interface 1/0/1
vlan pvid 200
vlan participation include 200

R 重新安裝 package

 # R 匯出舊套件名稱
pkgs.file = "~/r_packages.rdata"
pkgs.df <- installed.packages(priority = "NA")
pkgs.vec <- as.vector(pkgs.df[,1])
save(pkgs.vec, file = pkgs.file)

# 使用匯出清單 安裝 套件
pkgs.file = "~/r_packages.rdata"
load(pkgs.file)
install.packages(pkgs.vec)

2020年10月6日 星期二

遺失 Openmediavault Web管理帳號

 執行 omv-firstaid. --Change control panel administrator password

Librenms 遺失 web 管理帳號

新增管理增帳號來處理
/opt/librenms//adduser.php newadmin password 10