Closed nefarious-scheme closed 3 years ago
Why don't you set the correct file via the SSH configuration?
I think this PR is useless.
You can put your identity key in ~/.ssh/config
.
# remarkable tablet
Host remarkable-usb
Hostname 10.11.99.1
User root
IdentityFile ~/.ssh/id_rsa_Remarkable
Ah I wasn't even aware of that! Since the functionality is already there, I agree that this is useless. Thanks for the info!
My branch adds support for choosing the location of the ssh identity_key used for authentication, as at the moment reStream.sh uses ssh without the "-i" option, which defaults to $HOME/.ssh/id_rsa (or whatever scheme is used). As I have different ssh keys for each server I remote into, I wanted support for the non-default location.