Well the things you learn! Thanks, that worked.
I didnt realise you could have ip address and hostname in the config like that, but it has done the trick On Tue, 9 Aug 2022 at 19:41, vince <[email protected]> wrote: > Not understanding why you're doing it that way. > > Just add the identity file to the stanza in your /root/.ssh/config > > Host awsbox 1.2.3.4 > IdentityFile ~/.ssh/id_rsa_my_remote_username > user my_remote_username > hostname 1.2.3.4 > > The stanza above lets you use either name or address. > FWIW, I use address on my aws lightsail stanza just in case my local DNS > bounces (which is very rare) > > -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/TGswy_m8yq0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/9d13bb14-2a04-451f-b46e-ee18759faa24n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/9d13bb14-2a04-451f-b46e-ee18759faa24n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPj91zkG22BLH8RYcUeczT76hRjUZz11WXsO3%2BxR9uqVLu5AjQ%40mail.gmail.com.
