3 ms·
I don't get to control the UI if I shell out. I want to prompt you for your password in a native window and display a native progress bar. I want to know exactl
by gnachman 11y ago
I don't get to control the UI if I shell out. I want to prompt you for your password in a native window and display a native progress bar. I want to know exactly why it failed. I want to estimate the time remaining.
- sneak 11y agoThings you don't get if you don't shell out: - reusing ControlMaster bg connections - smartcard auth - agent support - ssh_config support, including - proxycommand - Cipher selection - KDF advances for on-disk key encryption The list is long and expansive. You'd do better to submit a patch upstream for machine-readable progress output in OpenSSH's 'scp', and bundling that.
- gnachman 11y agoThat's a fair point. We do support agents and much of ssh_config. I'll look into what it would take to patch scp when I get the chance. For folks who have setups where iTerm2's scp implementation can't connect, you can always download files over an existing ssh connection with this script: https://raw.githubusercontent.com/gnachman/iTerm2/master/tests/download.sh https://raw.githubusercontent.com/gnachman/iTerm2/master/tes... Upload is a little trickier, but you can copy a file to the pasteboard (e.g., in Finder) and then paste it base64-encoded (Edit > Paste Special > Paste File Base64-Encoded) into base64 -D >> filename.