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 the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9d13bb14-2a04-451f-b46e-ee18759faa24n%40googlegroups.com.

Reply via email to