remove my name from shell.nix
This commit is contained in:
parent
a5ece1f3ce
commit
f1493c5bb0
|
@ -70,9 +70,9 @@ mkvirt() {
|
||||||
samba-create-ipv4-records "$IP" "$name" "$DOMAIN"
|
samba-create-ipv4-records "$IP" "$name" "$DOMAIN"
|
||||||
[ $? -eq 0 ] || return 9
|
[ $? -eq 0 ] || return 9
|
||||||
1>&2 echo "removing any stale ssh keys"
|
1>&2 echo "removing any stale ssh keys"
|
||||||
ssh-keygen -f "/home/james/.ssh/known_hosts" -R "$name"
|
ssh-keygen -f "$HOME/.ssh/known_hosts" -R "$name"
|
||||||
ssh-keygen -f "/home/james/.ssh/known_hosts" -R "$name.$DOMAIN"
|
ssh-keygen -f "$HOME/.ssh/known_hosts" -R "$name.$DOMAIN"
|
||||||
ssh-keygen -f "/home/james/.ssh/known_hosts" -R "$IP"
|
ssh-keygen -f "$HOME/.ssh/known_hosts" -R "$IP"
|
||||||
1>&2 echo "scanning for new ssh keys"
|
1>&2 echo "scanning for new ssh keys"
|
||||||
# head -1 allows us to grab the ed25519 key before the rsa key.
|
# head -1 allows us to grab the ed25519 key before the rsa key.
|
||||||
# at worst, it will yield a single key of some sort which is also fine.
|
# at worst, it will yield a single key of some sort which is also fine.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user