open-menu closeme
Home
Links icon
LinkedIn
About
English
github linkedin
  • Deploying pam_ussh: A Comprehensive Guide

    calendar Aug 20, 2024 · 4 min read · Go PAM SSH Docker Security  ·
    Share on: twitter facebook linkedin copy

    Introduction As part of my travels and working with a large number of distributed linux systems we often need a better way to handle AAA(authentication, authorization and accounting), this wont help with 'accounting' but having a centralised machanisim to handle user sudo rights without requiring a 'phone home' …


    Read More
  • Compress + Base64 encode a (log) file to allow copy via SSH

    calendar Apr 20, 2021 · 1 min read · ssh bash  ·
    Share on: twitter facebook linkedin copy

    Sometimes I need to move files from a server on which I have SSH access but these files are big and or have complex formatting which breaks if you just try and copy\paste the contents So, if we gzip the file then base64 encode this compressed file we now have a string thats much smaller than the original and it's in a …


    Read More
  • Putty SSH settings to stop garbled output

    calendar Sep 24, 2019 · 1 min read · PUTTY SSH CONFIG UBUNTU-18  ·
    Share on: twitter facebook linkedin copy

    Using Ubuntu 18 and tools like glances and iftop would often mangle the output Changing the default Puttty settings 'Connection > Data > 'Terminal-type string' to 'putty' instead of 'xterm' and setting your PuTTY settings under Translation and ensure that you have UTF-8 set as the character set then save this as …


    Read More
  • Compress a folder and send it to another server via SSH

    calendar Sep 7, 2017 · 1 min read · SSH  ·
    Share on: twitter facebook linkedin copy

    This command will tar an entire folder, pass it to gzip then pass it to SSH which then in turn writes the resultant output to a file on a remote server Useful for backing up small folders to remote servers Don't forget to ssh-copy-id on the source server so password-less authentications works 1tar -cvf - …


    Read More
  • MySQL dump over SSH to a remote host

    calendar Dec 14, 2015 · 1 min read · mysql bash ssh  ·
    Share on: twitter facebook linkedin copy

    Original Article - http://christiank.org/wp/2010/12/pipe-a-gzipped-mysql-dump-over-ssh/ If you want to take a SQL dump from some host, compress it and send it across SSH to another host then this is the command you are chasing mysqldump -u MYSQL_USERNAME -p YOUR_DATABASE | gzip -c | ssh USERNAME@YOUR_TO_HOST 'cat > …


    Read More

Cory Hawkvelt photo

Cory Hawkvelt

CTO @ Nexgen Cloud | Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • Deploying pam_ussh: A Comprehensive Guide
  • Unpacking the NVIDIA H100 Tensor Core GPU: A Deep Dive for CTOs
  • Caddy proxy for OpenStack API's
  • HP Server ACPI errors
  • vxlan: non-ECT from 10.254.8.23 with TOS=0x2
  • Install Ceph by hand Ubuntu 22.04
  • Gnocchi Convert Temperature F to C
  • Install HP SSACLI HPACUCLI tool on Ubuntu 20.04

Tags

LINUX 32 CEPH 24 BASH 22 OPENSTACK 13 NETWORKING 10 DOCKER 8 CONFIG 6 HP 5 HPACUCLI 5 OPENSTACK-QUEENS 5 QEMU 5 SSH 5 TROUBLESHOOTING 5 CENTOS7 4
All Tags
ACTIVE-BACKUP1 ADB1 AI1 ANDROID1 ANSIBLE2 APT1 AUTODISCOVER1 BACKUP1 BASH22 BIND1 BLUETOOTH1 CACHE1 CADDY1 CAS1 CENTOS74 CEPH24 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER8 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 FTOS1 GIT1 GNOCCHI3 GO1 GPU1 H1001 HAPROXY2 HARDWARE2 HORIZON1 HP5 HP-ILO1 HPACUCLI5 HPC1 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 IPTABLES1 IPV61 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX32 LOGO1 MAAS1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MEMCACHED1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING10 NEUTRON1 NOVA1 NOVNC1 NPS1 NVIDIA2 OPENNEBULA1 OPENSTACK13 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PAM1 PCI1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RABBITMQ1 RADIUS1 RADOSGW2 RAID3 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SECURITY1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH5 SSL1 SVG1 SWAP1 SYSCOMMANDS1 TCP1 TCP-DUMP1 TCPDUMP1 TROUBLESHOOTING5 UBUNTU4 UBUNTU-182 UBUNTU-201 UBUNTU-GNOME1 UBUNTU171 UEFI1 VAGRANT2 VIRTUAL-NETWORK1 VIRTUALISATION1 VLAN1 VM2 VPN1 VXLAN2 WINDOWS2 WINDOWS-AD1 WIRESHARK1 YOUTUBE-DL2
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top