Skip to content

Instantly share code, notes, and snippets.

@lukeplausin
lukeplausin / transfer_ssm_file.sh
Last active April 17, 2024 17:51
Transfer a file to EC2 SSM instance without using S3 (SSM only)
# This script will explain how to transfer a file to EC2 using SSM ONLY!
# You will need to have permission to run SSM commands on the target machine and have sudo access as well
# Infos
INSTANCE_ID=i-1234567890
FILE_NAME=the_file.tar.gz
# Step 1: Run command on machine to install netcat and dump from port to filename
# < Start session
@zentavr
zentavr / proxmoxlib.js.diff
Created July 25, 2018 20:58
Proxmox 5.2 Subscription banner remove
--- /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak 2018-05-14 12:06:33.000000000 +0300
+++ /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js 2018-07-25 23:55:45.513350604 +0300
@@ -350,6 +350,8 @@ Ext.define('Proxmox.Utils', { utilities:
var data = response.result.data;
if (data.status !== 'Active') {
+
+ /*************************************************
Ext.Msg.show({
title: gettext('No valid subscription'),