I ran into this issue today so I thought that i would put a solution that I found on here. If you ever run into a situation in which you need to copy your ssh keys to another box but you dont have the handy dandy ssh-copy-id tool, the following one liner should work. Check out this oracle web page for more info.
cat ~/.ssh/id_rsa.pub | ssh <USER>@<IP> 'cat >> .
Thaddeus’s Personal Site
This is a slice of the internet that I use to brain dump and document things that I am working on and interest me.
Read my lastest posts here:
If you’re anything like me and (and a good other portion of the internet) you don’t want to be bothered with IPv6 addressing because “IPv4 still works” but eventually its time to grow up and realize you need to start becoming more familiar with IPv6 outside of basic textbook knowledge and today I’m gonna teach you how to create a random IPv6 private range for if you need to set up VLANs, VPN tunnels, or whatever.
When you’re running ESXI without vCenter, sometimes really niche things come up and you have situations that are kind of a pain without the appropriate management software so sometimes you gotta be a little janky.
So Primarily you’re going to want to power off the VM you want to clone.
Then you want to right click the VM and chose Edit Settings.
In the Virtual Hardware tab take not of the name and location of your Disk File.
So for some reason that Home Assistant OS virtual machine doesn’t really like being on certain versions of Vmware ESXI (typically older versions as I assume they do their testing as close to the newer releases as possible). I believe the issue stems from needing to change your virtual disk to IDE instead of SCSI which causes some underlying hard drive integrity issues that they didn’t plan for. Nonetheless, the fix is pretty easy and just takes a couple of minutes on your time and a Linux terminal (or any terminal that can SSH I guess).
Theres no real way to delete a cluster in the gui with out doing a fresh install (that i know of) but the following set of commands should stop the cluster service, force it to local, delete the configs and restart it like new.
systemctl stop pve-cluster
systemctl stop corosync
pmxcfs -l
rm /etc/pve/corosync.conf
rm -r /etc/corosync/*
killall pmxcfs
systemctl start pve-cluster
Introduction# For those who aren’t familiar with the concept. Different hypervisors use different file formats to represent VM images and due to the fact that Proxmox uses Qemu (Quick Emulator)/KVM (Kernel-based Virtual Machine) to provide virtualization, it in turn uses Qcow2 (Qemu Copy-On-Write) as the storage file format for virtual machines data. The process to move Qcow2 files into Proxmox may not be as straight forward as it is on VMware, but its still a relatively painless process.
If you ever want a simple way to pull your public keys from Github so that you can use your safely stored ssh private keys where you need them.
curl https://github.com/[USERNAME].keys This command will put it in your authorized_keys file which will actually allow you to use them in ssh.
curl https://github.com/[USERNAME].keys | tee -a ~/.ssh/authorized_keys
Sometimes when trying to replace text using the sed command line tool you will tun into the issue in which your text has the forward slash characters which can be a bit of a headache because thats what sed uses to delimit strings. Thankfully the delimiter is pretty flexible. I like to use the pipe “|” symbol, but pretty much any other symbol will work such as the tilde “`” or the colon “:” ex:
In order to get proper email notifications from the TP-link Omada SDN Controller you need to set up SMTP and have it authenticate to your email provider of choice (here we’re gong to use gmail). This tutorial is assuming that you have a google domain because you use the google SMTP servers to send your mail. Gmail allows application access to SMTP functions pretty seamlessly so this whole evolution takes like 5 mins.
So i was trying to make a script that would automate SSL key exports from a BSD machine to another so I don’t have to go through the pain of doing it manually every time and i ran into the issue of me not being able to ssh-copy-id my files over but i keep running into the issue of it not being able to connect to my auth agent due to a lack of keys even though i generated them with ssh-keygen, nonetheless no matter what I did i kept getting met with: