[SOLVED]Libvirt: Need to ssh x10 Times Before Connecting to VM

I have a libvirt + qemu/kvm setup that I can remote into with ssh. The initial ssh connection to the server is fine. However, when I want to view the VM, it prompts me for my ssh passphrase literally 10 times. The funny thing is, it actually works after that...
Any thoughts on the cause? I'm not sure what config files would be relevant here.
All the ssh connections!
Last edited by Hspasta (2014-08-13 20:59:38)

Awesome wm and virt-manager here.
Adding something like this to .xinit works for virt-manager but it'll ask for ssh passphrase right after startx command.
~/.xinitrc
keychain ~/.ssh/id_ecdsa
[ -f ~/.keychain/$HOSTNAME-sh ] && . ~/.keychain/$HOSTNAME-sh 2>/dev/null
[ -f ~/.keychain/$HOSTNAME-sh-gpg ] && . ~/.keychain/$HOSTNAME-sh-gpg 2>/dev/null
exec awesome

Similar Messages

  • Need to restore every time I connect iPod?

    My iPod (new nano, v1.0.1 software) works just fine. Plays music like a champ. iTunes (7.4.3.1, WinXP) works as expected, too. However, every time I connect the iPod, iTunes declares that it is in recovery mode and needs to be restored before it can be used w/ iTunes. It restores just fine, but I'd like to be able to bypass this step.

    Have you had a chance to look at this troubleshooting page? If not, have a look at the bottom section that covers what to try if the message keeps reappearing: iTunes has detected an iPod in recovery mode - Use iTunes to restore

  • [SOLVED] Arch restores hw clock to time before turned off on boot

    Subject of this thread pretty much sums this up.
    When I boot my computer into Arch, system clock is set to the time when I turned my computer off. I have ntp installed, but it is not running as deamon. I just have cron job that calls ntpdate once a day which was working fine until now.
    So here is the example situation:
    It is now 23:47. I have correct time set on my PC. I turn off Arch. I wait five minutes. Then I start my PC again. Before booting into Arch I check time in bios and it is as it should be. I boot into Arch and my time is 5 minutes late.
    I also have Ubuntu on the same machine. It does correct time on boot, so I removed startup permissions of ntp. Now it does not correct time on boot anymore. But I can turn off my computer and boot into Ubuntu just fine, no problem with time. So I am pretty sure this is Arch messing up.
    Anyone has idea what this can be? I bought new motherboard battery just to be sure. Did not help obviously.
    Last edited by Raqua (2010-02-17 08:17:51)

    Probably the time adjustment has been wrongly initialized. Delete /var/lib/hwclock/adjtime, set your hardware clock properly and then reboot. This will re-initialize the adjtime file with proper settings.
    Helps in most cases. Otherwise just report back.
    Last edited by bernarcher (2010-02-16 23:51:40)

  • TS3367 facetime doesn't work well after upgrading to ios8. I need to make a call several times to connect.

    Facetime doesn't work well after upgrading to ios8.
    When I make a facetime call, it doesn't sound some times on the other side.
    When it rings on the other side and is answered, it says (connecting), but it is still ringing on my side and never connected.
    After that, I disconnect and make a second call, it sometimes connects, but not everytime.
    I need to call several times to connect. It is really hard to connect through facetime after upgrading to ios8.
    I purchased three iPad so far because of this good feature (facetime).
    Please fix this issue as soon as possible.
    Thanks.

    Hi,
    There are two easy fixes to this.
    One, you can set up Family Sharing, in which you can have two different iCloud Accounts, yet still share the same apps, music, media etc.
    Two, go to Settings and turn-off "Handoff". This can be found under the General page.
    Hope this helps!

  • I sometimes need to push the power button to 4 times before my laptop powers on?

    I need to press the power button 3 - 4 times before my laptop powers on.  Is the fix the same as not being able to power on at all or is there and actual hardware porblem?

    Hi there @TASK1 
    Welcome to the HP Support Forums! It is a great place to find the help you need, both from other users, HP experts and other support personnel.
    I understand that you are having to press the power switch multiple times before your notebook powers on. I am happy to help.
    Has this always been the case, or did it just start to happen recently?
    Is there any sign of physical damage, or does the switch seem to stick?
    Please post the full product number and verify the operating system in use on your notebook. See the following, if you need help with that information.
    How Do I Find My Model Number or Product Number?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • I have a 3rd generation ipod nano. I upgraded to lion. I tried to buy an audio book and download it to my nano like I have done at least 50 times before. Now the dialog box states that I need an ipod touch for the same function. MacBook Pro 2008 w/ m.trac

    I have a 3rd generation ipod nano. I recently upgraded to Lion which is causing lots of issues. Aside from that, I went to the Itunes store to purchase books like I have done at least 100 times before with no problems. Now I can by the book and get it to my computer, however when I tried to download the book to my 3rd generation ipod the dialog box informed me that to download any new audiobook purchases I would need an ipod touch. My ipod nano 3rd generation serves my purposes just fine. Why should I be forced to buy something I do not want just to continue something I have always done seamlessly? I know this is more of a rant than a question but I am sure someone else out there has had this happen to them. Maybe you could share your thoughts on how to work around this issue if possible?

    I forgot to add the last obvious and crucial step I had taken - plugging a different iPod into my system. It was also not recognized. That was the final proof I needed to determine if the problem was device or system. But now what?
    I truly appreciate any help I can get!
    Thanks again...

  • MacBook Pro late 2011 screen goes blank and needs shutdown and superdrive spins 3 times before ejecting discs

    Hi everyone,
    I have a big problem with my MacBook Pro late 2011, suddenly while working without connecting the charger and it is 100% charged the screen would go black and I would need to hold the power button to shut it down and then power it up again, The second issue is the superdrive whenever I use a disc it spins it for 3 times before ejecting it to me, tried resetting PRAM and tried re-installing mac os x mavericks, but no solution so far and about the superdrive I bought a cleaner disc and tried to insert it, the superdrive would spin it 3 times and ejects it after that. Saw the disk permission solution and tried it once and I think there is a problem with that because this is the second time I try it and it was saying that there were problems.
    Sorry for being long.
    Thanks in advance.

    Depending on what you are doing on the computer, how hard you are working the computer, it should not overheat. And if it does it should shut down or get very slow because when it starts to overheat the CPU will be throttled back to a lower Ghz speed and or just shut down so it doesn't cause damage to the CPU. The Kernel Panics are a sign that something else is going on. This could be software or hardware.
    If after wiping the drives and reinstall Lion on the SSD if the system is running OK then the drives are fine, IE they are not bad. There is something else corrupting them. Again this could be hardware or software, but I doubt it is heat. And using the MBP ion clamshell mode should not cause overheating or excessive heating of either of the drives.
    Have you installed iStat Pro or Menu and kept and eye on the temps? If not install iStat Pro and keep and eye on the temps. I bet they do not get above the 150°- 180°F mark which although hot is not overheating.
    Be very careful when calling Apple. Removing the DVD drive and installing a hard drive in that bay could void your warranty. The DVD is not a User Removable part and Apple frowns on doing that. So if you call them do not mention that you have replaced the DVD drive with another HDD.
    Honestly I suspect you have a hardware problem. But the only way to know that is to install just Lion and your basic programs and run the system. Leave out any AV type software, if you are running some. If you don't get any kernel panics thenn install some of your other software, one programm at a time. If with just the OS and basic software you get a kernel panic then it is hardware related and needs to be checked out by Apple. If you do that re-install the DVD and the original HDD with just the OS on it before you take it in.

  • DO we need to run Info Package every time before DTP Process to load the da

    Hi friends,
    IN BW 7.0 do we need to run every time the Info Package before DTP process to load the data into target or only one time we need to run the Info package then from that point onwards we need to run DTP process, Please let me know. basically I am planning to create the process chains so I should put Info package before DTP to load the deltas or full load??
    Thanks a lot,
    Harshan

    Hi,
    When you are loading from source system i.e. datasource to target, you will always have to use an infopackage to load to PSA and a subsequent DTP.
    When loading for instance from DS to Cube, you only need to schedule a DTP.
    I hope this helps you.
    Best regards,
    Olav

  • TS2972 have to restart Itunes and computer several times before apple tv will connect...do i need to reinstall itunes?

    have to restart Itunes and computer several times before apple tv will connect...do i need to reinstall itunes?

    It is quite possible to have a different iCLoud AppleID from the iTunes one - have you set up maybe Phot Stream using an non-iTunes AppleID?

  • HT4528 My new iPhone has a lag time before it turns on?  I need to make an appt with Tysons to get it repaired.

    My new iphone has a lag time before it turns on.  I think it may need to go into Tysons for support.  Do you have any other options for me?

    What exactly do you mean by lag time when tutned on?  If you startup from a shutoff condition you have to hold the power button for a few seconds before the startup sequence begins...and then the apple logo will stay on-screen for a minute or so as it powers up.
    If you are talking about waking from sleep, how long is this taking?
    If you are concerned, by all means take it in for testing...but Apple does not repair iPhones, they replace them if defective.

  • I'm in need for a thunderbolt display before December.  My old Imac is like new (don't want to invest in a new Imac yet).  Can I connect the thund-D to the old Imac via USB for the time being?

    I'm in need for a thunderbolt display before December.  My old Imac is like new (don't want to invest in a new Imac yet).  Can I connect the thund-D to the old Imac via USB for the time being?

    Their are some display adaptors you can get. I have an older Mac Pro with DVI but my monitor is a Thunderbolt Display. This used to be around $250. It is way cheaper now.
    http://www.bhphotovideo.com/bnh/controller/home?O=&sku=810627&Q=&is=REG&A=detail s

  • My MacBook Pro keyboard is giving trouble. 0,p,;,/ and the enter key needs to be pressed several times before registering. Help me please??

    My MacBook Pro keyboard is giving trouble. The 0,p,;,/ and the enter key, needs to be pressed several times before registering. Help me please??

    If you are still under warranty and/or have AppleCare, call them.  Let them deal w/it.  Out of warranty, your keyboard may need cleaning.  Use a vacuum hose or a can of compressed air to get the dirt out from under the keys.  For instructions to remove the keys if it comes to that check out the following websites:
    iFixit
    TakeItApart
    Search YouTube for Macbook Pro “How To” tutorials.
    If you do not want to DIY, take your MBP to your local AS or an AASP.

  • Monitor cycles on and off many times before settling and staying on

    When I turn my mac mini on or revive it from sleep, the monitor wakes up for a short time, then goes black for 30 seconds then revives itself for about 23 seconds in a cycle (on, off, on, off) that lasts about 30 minutes, maybe longer.  After which, the monitor stays on indefinitely.
    ...until the computer goes back to sleep or is turned off...  then the whole cycle starts over.
    I do not have to touch anything for the cycles to happen.
    The computer is running fine, in fact I can continue to type... I just cant see what I am doing.
    This problem is a recent development and was not triggered by anything I am aware of.
    After 6-8 times of going through this, I have not yet noticed any change in duration of cycles or of the length of time before it settles out.
    I have a Mac Mini (Mid 2011)
    External DELL monitor connected via Thunderbolt port mini display port to VGA.
    I have tried reseting the SMC and PRAM with no correction to the problem.

    Hello slodave,
    Since you are not hearing the hard drives or anything kick on for a while it sounds like the issue may be with your power supply.
    You may want to look at the power supply there should be a light on it. See if it shows it is starting properly before the computer actually turns on (so this is during the 6+ times it is turning on and off).
    If the power supply is going then you may just need to replace it to continue normal operation.
    If I have helped you in any way click the Kudos button to say Thanks.
    The community works together, click Accept as Solution on the post that solves your issue for other members of the community to benefit from the solution.
    - Friendship is magical.

  • TS3474 iTunes has detected an iPod that appears to be corrupted. You may need to restore this iPod before it can be used with iTunes. You may also try disconnecting and reconnecting the iPod.

    What do I do about this message? I've restored it 3 times, but this message still comes up, and i cannot put music on it now.
    iTunes has detected an iPod that appears to be corrupted. You may need to restore this iPod before it can be used with iTunes. You may also try disconnecting and reconnecting the iPod.

    Sounds like your iPod is broken. Take it to Apple or someone else who repairs iPods and see if you can get it fixed, or get it replaced.

  • How do I extend the time before re-entering password.  I have it set of one hour at present but would like to extend that.

    I have a 2014 Mac Mini 1.4G, 4GB, 500GB.  I bought this recently but am new to Mac.  How can I extend the down time before having to re-enter my password. I have it set to 1 hr but I need more time because of using it intermittently throughout the day.  I can't seem to get back to where I set that in the first place.
    Help!!
    Ozarksguy

    You can go to System Preferences > Security & Privacy and make your choices:

Maybe you are looking for

  • LOV Data will render dynamically based on the value in adv table

    Hi Friends, am wokring on the requirement of iprocuremnt 1) in iprocurement checkout page we have option called edit lines , when i click edit lines , the lines items will show catalog items and non catalog items. 2)if item should be non catalog dele

  • How to Fetch Production ordr No in Batch no Creation table

    Hi experts One of our customer needs batch number need to be auto generated and this number should be Production order no. Only one rececipt from pdn will happen to one PO. I tried below query to fetch the value. But it is showing no results. SELECT

  • Copy from different plant - Inspection plan

    Hi, May I know which method or tcode that i can use to copy inspection plan for various plant for the same material? Let's say I have material ABC, plant 0002, and I still have 4 other plant 8002,8003 .. Please advice. Thanks.

  • How to format date/time in display hints?

    To those of you who know it: One of the attributes in a VO is of Date type. To display of the date in the format of "10/25/2009 11:45 PM", I only managed to display "10/25/2009 11:45" with only the clue of the few examples provided in display hints w

  • Third Party VST audio plugins  - stereo, multichannel

    Hello, I am developing VST audio plugins. I have the trial version of Adobe Audition CS5 on Mac OSX and as I started to realize this version of Audition doesn't support 64-bit VST plugins, is this correct? or is there something I should do for Auditi