Optional path to public key file; set this if you have a signed certificate you want to use for authentication.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
Enter a string value. Press Enter for the default ("").
pubkey_file>
Ubuntu AMD64 works fine, so no more comments there but what drove this was running rclone from my mobile phone and it a snag there
Termux (Android) ARM64 seems to complain about something related to IPv6 (see below) irrespective of whether using regular keypair or cert keys. The rclone that comes by default doesn't seem to have a problem (but only supports the regular keypairs). Not sure if I am testing the wrong version tho - see version info belo.
Error message:
2020/09/25 10:46:58 Failed to create file system for "core-wsl1:": NewFs: couldn't connect SSH: dial tcp: lookup trinhonline.com on [::1]:53: read udp [::1]:46798->[::1]:53: read: connection refused
Version I tested from your beta builds:
rclone v1.54.0-beta.4785.f11255a80.pr-4625-sftp-certs
- os/arch: linux/arm64
- go version: go1.15.2
Version that comes from Termux repos that work with regular keypairs:
rclone v1.53.1-DEV
- os/arch: android/arm64
- go version: go1.15.2
I tried both the bind and runtime env and didn't fix.
I do think it must be something weird with the termux that is confusing things as seems weird to have a regression related to IPv6.
Anyway; the core ssh cert works if this can be merged into mainline then eventually the termux guy will probably do a build for the particular environment which should fix this.
Note that the linux/arm build doesn't work under termux properly, it needs some customisation. If you look in the beta folder you'll see a folder called testbuilds - this has an android arm 32 bit build on which may work.
Or you can checkout the branch on Android and build it. Git and go are both in Termux.
If you have trouble then I can send you a compiled binary.
The standard linux/arm build doens't work well though - you see these name resolution problems. Termux builds with a modified go runtime or build system to work around this.
Yes that is ARM 32 bit - it would say arm64 otherwise