SSH Cheat Sheet
marcobehler.com
marcobehler.com
ssh remotehost reboot
Heredoc syntax also works: ssh remotehost <<'EOF'
ls
cat /etc/passwd
reboot
EOF"[sftp] disadvantage is a much less friendly user experience, especially in cases where one simply wants to type a command and see files move."
I just want to copy a file. I'll keep using scp.
I have written some notes especially on SSHFS (also for Windows!) and tunnels with SSH (e.g. SOCKS proxy) as an OrgPage: https://www.orgpad.com/s/wRIx3rNLZ6y These tricks saved my bacon so many times already. Most of it can be used with the FUDO PAM jump host appliance (https://fudosecurity.com/fudo-pam/) that is based on FreeBSD and one of the developers spoke about it and other things on https://www.bsdnow.tv/ I think. Some of it works with OpenWRT's Dropbear nicely as well.
``` Host github-work.com .. Host github-personal.com ```
Getting in the habit of using a fake FQDN (which right now aren't registered) feels pretty risky.
Is there any evidence that 2048 bit RSA keys are insufficient?
4096 bit keys are absolutely huge. I don't know if working with them is also slower, but I would guess so.