Never save host keys for the admin box:

judd@judd-m6600:~/useful$ cat ~/.ssh/config
Host admin 192.168.124.10
    StrictHostKeyChecking no
    UserKnownHostsFile=/dev/null

write your key to the new admin box:

judd@judd-m6600:~/useful$ ssh-copy-id crowbar@admin


On Fri, Mar 8, 2013 at 9:13 AM, <[email protected]> wrote:

> A total security nightmare, but great for testing. The 2 lines below will
> auto-login you to a test admin VM without asking for password…. (and don’t
> require you to inject the private key during admin node boot )****
>
> ** **
>
> #remove the host fingerprint from the known hosts****
>
> ssh-keygen -f "~/.ssh/known_hosts" -R 192.168.124.10  ****
>
> # pass the password to ssh… ****
>
> sshpass -pcrowbar ssh [email protected]****
>
> ** **
>
> ** **
>
> enjoy…(and correct, or add to docs and such)****
>
> _______________________________________________
> Crowbar mailing list
> [email protected]
> https://lists.us.dell.com/mailman/listinfo/crowbar
> For more information: http://crowbar.github.com/
>



-- 
Judd Maltin
T: 917-882-1270
F: 501-694-7809
what could possibly go wrong?
_______________________________________________
Crowbar mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to