rien / reStream

Stream your reMarkable screen over SSH.
MIT License
732 stars 56 forks source link

support for non-default ssh identity_file locations #60

Closed nefarious-scheme closed 3 years ago

nefarious-scheme commented 3 years ago

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.

lluchs commented 3 years ago

Why don't you set the correct file via the SSH configuration?

f3fora commented 3 years ago

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
nefarious-scheme commented 3 years ago

Ah I wasn't even aware of that! Since the functionality is already there, I agree that this is useless. Thanks for the info!