Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

REPLACE DOMAIN

sshhost=host1
domain=domain.com
ssh -oBatchMode=yes -oStrictHostKeyChecking=no fakeuser@$sshhost.$domain 
ssh -oBatchMode=yes -oStrictHostKeyChecking=no fakeuser@$sshhost

Remove Offending Entry 

sed -i '119d' ~/.ssh/known_hosts
ssh-keygen -f "~/.ssh/known_hosts" -R <hostname> 
  • No labels