New pages

Jump to navigation Jump to search
New pages
Hide registered users | Show bots | Show redirects
  • 10:37, 15 April 2025Ssh (hist | edit) ‎[515 bytes]Chubbard (talk | contribs) (Created page with "== SSH examples for abnormal tasks == Yes, I can never remember exactly how to get the !#$!@# port forwarding done correctly. Bah! ===SSH port forwarding for postgres=== * Accounting for possibility of using abnormal ssh ports and strange ssh keys. * Connect pgadmin to localhost:5432 and set your authentication <pre> export KEY=~/.ssh/some_key export PORT=2345 export JUMPBOX=192.168.15.58 ssh -i ${KEY} -p ${PORT} -L 5432:192.168.15.250:5432 SSH_USER@$${JUMPBOX} -N </p...")
  • 09:34, 10 April 2025Bash-ps-examples (hist | edit) ‎[304 bytes]Chubbard (talk | contribs) (Created page with "== Generic Page of PS options == === threads from process === See the threads for a given process * [https://serverfault.com/questions/932406/how-to-tell-threads-from-processes-in-top-and-ps-on-linux show threads from process] <pre> ps aux |grep processName ps -fly -T -p PID </pre>")
  • 14:43, 3 April 2025Bash rename files (hist | edit) ‎[414 bytes]Chubbard (talk | contribs) (Created page with "==Rename files that have reserved characters== When ls is showing that funny diamond-question value in the output or you see a litteral $ in the filename, here is the fix I was able to use... <pre> ls output via -b N\343o_Wave via ls -i 213764100 'N'$'\343''o_Wave' # Use the inode value to move the file to something typable find . -maxdepth 1 -inum 213764100 -exec mv {} N_o_Wave \; </pre> Category:Bash")
  • 08:48, 26 March 2025Ansible (hist | edit) ‎[657 bytes]Chubbard (talk | contribs) (Created page with "==Ansible Notes== * Find details about ansible collection versions (RHEL) <pre> ~/.local/bin/ansible-galaxy collection list # /home/USER/.local/lib/python3.?/site-packages/ansible_collections Collection Version ----------------------------- ------- amazon.aws 1.5.1 ansible.netcommon 2.5.0 ansible.posix 1.3.0 ***** SNIP ***** # /usr/share/ansible/collections/ansible_collections Collection Versio...")
  • 11:01, 11 March 2025Iptables (hist | edit) ‎[600 bytes]Chubbard (talk | contribs) (Created page with "==iptables notes== Just some generic notes on working with IP tables. Can be a PITA when an issue is happening to remember the details.. REMEMBER: You can block YOURSELF if you do not use your head! Dont block: Internal IP address YOURSELF external IP address (if logging in via public interfaces) Loopbacks... Not sure what would happen but expect it would brick things.. Simple blocks * iptables -A INPUT -s 47.245.124.200 -j DROP Reminders: * This will not persist...")
  • 17:39, 18 January 2025Compression (hist | edit) ‎[143 bytes]Chubbard (talk | contribs) (Created page with "==Generic Notes on compressed files== ==rar== ==7z== * to show the files only via listing 7z l -ba file.7z ==zip== Compression")