I wonder why it would not be easier just to edit one’s SSH config.  When
my laptop moves IP address, I just change the entries in .ssh/config,
and as my remote is specified as ssh://artemis/~/var/, git can’t tell
the difference.  Any reason this won’t work?

,----
| Host artemis
| User swhitton
| HostName 192.168.0.2
| IdentityFile ~/.ssh/desktop-key
`----

,----
| Host artemis
| User swhitton
| HostName 192.168.11.4
| IdentityFile ~/.ssh/desktop-key
`----

S

Attachment: pgpNh7Ze19qOB.pgp
Description: PGP signature

_______________________________________________
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home

Reply via email to