Running studiocli via ssh using authorized_keys o causes Epic build Fail

Preface: I use authorized_host ssh keys to implement my non ssh sessions.

Do this command in the shell of my build machine:

SSH o 'StrictHostKeyChecking no 'root@myip' studiocli - createbuild - profile opt/vmware/var/lib/build/profiles/Build.xml--debug--verbose'

Results output and following (epic fail of my attempt of construction):

Failed: Failed to reset the process group identifier

I followed it down to the code following in studiocli python (I commented).

      1. change vabs in a group of various different process than the OBA

      2. avoid the process OBA is killed during the cancellation of construction *.

    1. try: *.

    2. OS.setpgid (0, 0) *.

    3. except OSError: *.

    4. Failure ("Unable to Reset process Group ID") *.

    5. return ret *.

What impact will this have on my versions if I comment on him?

Is there a better way to call studiocli in ssh?

Thank you

H. Alan Treesong

Try:

SSH root@myip ' / bin/bash/etc/Environment; / opt/vmware/bin/studiocli - createbuild - profile opt/vmware/var/lib/build/profiles/test_profile.xml--debug--verbose'

Vishwas

Tags: VMware

Similar Questions

  • Running commands via SSH

    Hello

    I'm trying to use VCO SSH plugin to run certain commands on my host.
    Connection works fine and orders such as availability, hostname work too.
    What I want to do is to run the command mkdir create some folders, but it still fails (IE mkdir \vswp\volumes\myvol\mydir)

    What I ultimately want to achieve is to clone the disks with vmkfstools

    Any thoughts?

    If you try to create folders on linux/ESXi, please note that you should not use ' \ ' but ' / '.

    I.e. mkdir/mnt/NewFolder

  • C20 - run API via SSH with plink logged on as admin

    Hi all

    What is the way of interacting ssh vith help API and application plink to run commands on a C20 looged as an administrator?

    I am able to execute commands as root for example to perform a reboot:

    Batch script:

    C:\putty\plink.exe-SSH IP_Addresss-l root pw - password C:\C20restartjob\c20.txt m

    C20.txt:

    echo restart now

    / sbin/reboot

    Output

    I would like to be able to run the commands API but being logged on as admin user.

    What I use in the c20.txt file if the command is recognized?

    SW: TC 6.X

    Thanks in advance for your advice.

    Played a little further - and found something that works for plink.

         C:\>PLINK.EXE -ssh testc60 -l admin -pw TANDBERG<>

    where C20. Cotains TXT:

         xcommand boot

         bye

    The "bye" is really useless if the reboot - to do, but if you show other xcommands then unplug the codec at the end of all your orders.

    Wayne
    --
    Remember the frequency responses and mark your question as answered as appropriate.

  • 'customer support files required' problem connecting using vSphere via SSH tunnel

    I am trying to connect to my ESX Server using the vSphere by tunnel via SSH client. I did in the past, but it does not work now. I am fwding ports appropriate (443, 902, 903) and have done the "hosts" file entry appropriate, as well. When I try to connect, I get the expected certificate error, and when I reject, I get a dialog box saying that I need to download the "required client supports files ', and of course I can't download them from the site vsphereclient.vmware.com while I'm in the tunnel. I'm confused about why I get this message, because I can connect to the ESX Server using the installed version of vSphere, if I directly (i.e. without a SSH tunnel).

    Any thoughts? I am in urgent need of remotely administer my VMs, any help would be most appreciated.

    It turns out that VMWare Workstation is listening on these ports, and PuTTY tunneling is silently failing... so it seems that I connect to my ESX box, but not really. Deactivation of VMware Workstation, Server and the authorization server to fix it.

  • Start a virtual machine on Linux using Workstation via ssh and vmrun 10.0

    I have 10 Workstation under Linux of Kali.

    I installed a Windows 7 VM and when I connect to the computer using ssh - X, start vmplayer, it works very well.

    If I connect via ssh and start using vmrun I get operation cancelled.

    "vmrun start/root/vmware/Windows\ 7. 7/Windows\ vmx nogui

    "Error: the operation has been cancelled".

    I tried this a normal ssh and an X connection using both-x and - XY.

    Any ideas? I got a glance at for a while and most people seem to be solved using the nogui option but it does not work in my case.

    Try...

    WS t vmrun start/root/vmware/Windows\ 7. 7/Windows\ vmx nogui

    Or t reader if you use VMware Player instead of VMware Workstation.

  • Deletion of snapshots via SSH

    I have a RN102 with 2x3TB red WD leads to XRAID2. I deleted all my photos except one (instant action is 191 GB). However, snapshots take up a lot of space:

    He has not recovered "over time", so I thought to delete manually via SSH. My gaze of 5 actions 4 like this where each record contains a lot of data (taken copies of my actions):

    Would I ruin anything by deleting them?

    Also, is it the result of a bug? Why space is not recovered when I delete images via the GUI?

    Thank you!

    Here are the shots that have not been successfully upgraded when you updated of the pre - 6.2.x 6.2.x firmware (or later).

    You could do

    # touch .force_snapshots_upgrade
    # systemctl restart readynasd

    These shots should then be upgraded and you can then delete the admin web UI.

    The space is recovered only when you delete pictures if the snapshots that you delete contains the only copy of certain data. If the current data or snapshots that you do not delete also contain spatial data not to be released to the top. Also, when you delete snapshots that the system will have to recursively update other snapshots. It can take some time if you have many snapshots.

    Once you have removed all the clichés that you want and the use of volume of less than 80% return, I would say that you then run a balance.

  • Generate ACS V 4.1.1 23 aging via SSH password does not work.

    Hello, my name is Elias and I have problems with ACS via SSH password aging does not work and there is no meseges password sent by ACS console when I use SSH from aging. I know that there are problems with this, but I can't find any workaround or documentation that says that there is no workaroun. Can you help me with this?

    Greetings from the King.

    Hey Elias,.

    SSHv1 does not support the password as you can do in telnet. You must be

    running a version of the IOS which supports SSHv2.

    The following site explains which versions support this:

    http://www.Cisco.com/en/us/partner/products/SW/iosswrel/ps5207/products_feat

    ure_guide09186a00802045dc.html

    Rgds,

    somishra

  • Photoshop Remote scripting via SSH

    I'm trying to get AppleScript scripts to run on a remote server by SSH (using the osascript command line utility). However, whenever I try to do nothing more, I get various Photoshop and/or AppleScript errors that I never get when you try to run the scripts from same exact locally. At the end of the day, I'm trying to run a JavaScript JSON of Applescript arguments passing, called by SSH file. Please forgive the verbosity introduced by the simple initial example.

    Server: OS X 10.8.5

    Photoshop: CC 2014

    I see the same type of errors that I have SSH into a server and do the following manually into a shell after logon, or a ssh command to directly run the power supply (e.g., ssh user@host "osascript /path/to/script.scpt"). From a basic example, I tried to launch the following AppleScript snippet. I tried to enter in osascript handmade via stdin, as writing to a file and call it remotely. Both resulted in no new files being created, but a success message.

    Tell application "Adobe Photoshop CC 2014"

    make new document

    tell the end

    No matter how I try to execute it remotely, I get the 'untitled document' response to osascript, and Photoshop displays a dialog error: "Could not complete your request because of a program error."

    More specific to what I'm trying to do, I have the following code:

    Tell application "Adobe Photoshop CC 2014"

    time-out of 30 seconds

    do javascript("/path/to/local/file.js") with arguments ({"{\"json\"": \"document\",...}) »})

    end time-out

    tell the end

    When I try to run it locally, I never have a problem. But when I run ssh (again, either from the command line or when placing order directly to ssh), I always get the following:

    script error: expected end of the line but found identifier. (- 2741)

    In addition to osascript stop with this error, Photoshop also appears the same dialog error: "Could not complete your request because of a program error."

    Anyone has any suggestions or ideas regarding how I can get all this work?

    Thank you

    Brian

    I was able to work around this limitation by using a daemon on the local host. However, it would be nice if I could finish with this piece of code server...

    Thank you

    Brian

  • You can run this program while using another anti-virus program

     
     
    You can run this program while using another antivirus program?
    I know that it is a matter of end now that MS does not have anyone else.
    However, I was going to dnld MS antivirus with Norton market too.
    I couldn't find info on one might or might not run another
    antivirus program during execution of the Member States. (as a general rule, you can't)

    Still, it would be interesting to know about this issue. And... Should be
    have been on one of the pages, so "requirements" or FAQ
    for example.
    Thank you in advance, Ric.

    Hello Ric Buckmiller,

    Thank you for using the Microsoft Windows Vista Forums.

    What specific Windows Vista virus protection software are you talking about?  Windows Vista will be usually comes with Windows Defender.  Windows Defender is software that helps protect your computer against the pop-ups, slow performance and threats caused by the software security spyware and other unwanted software to detect and remove spyware on your computer. Windows Defender Protection features in real time, a monitoring system that recommends actions against spyware when it's detected, minimizes interruptions, and helps you to remain productive.  Yes you can use it with antivirus software.

    Currently, Microsoft has an antivirus software on beta.  http://www.Microsoft.com/security_essentials/support.aspx
    If you have this downloaded, it advised that you can always use another software antivirus at this time.

    Or you are referring to Windows LiveOneCare?  Please let us know status.  Thank you!

    How to uninstall any other antivirus or firewall program?

    Before installing Windows Live OneCare, please make sure that you uninstall completely any existing antivirus or firewall program that may be on your computer.

    This step is very important, no matter what protection software you use, because installing one antivirus or firewall program over another on the same computer could potentially lock up the computer.

    Note: If you do want to keep the ability to reinstall your old antivirus or a firewall program in the future, make sure you have the original product CD (or a backup program disk) before you begin uninstalling.

    Engineer James Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • PIX and SSH - access to PIX via SSH

    Need help with PIX and SSH

    Objective: Connect to PIX via SSH from the 10.1.1.50 IP address behind inside the interface on the PIX using local aaa on PIX.

    Current settings:

    hostname pix1

    example.com domain name

    CA generates the key rsa 1024

    example username password abc123 privileges 15

    include authentication AAA ssh inside 10.1.1.50 255.255.255.255 local

    SSH 10.1.1.50 255.255.255.255 inside

    Thanks for any help!

    Try this:

    AAA-server local LOCAL Protocol

    the ssh LOCAL console AAA authentication

  • Powering down VMs and ESXi via SSH

    Hello

    I need;

    (1) stop all virtual machines running on the host ESXi

    (2) then stop this ESXi host

    How to achieve this via SSH?

    Thank you.

    I found it much easier to do via PowerCLI...

    $vc = vcenter1

    $dc = 'Center '.

    SE connect-VIServer $vc

    # Gets the list of all virtual machines in the data center (except the vCenter VM itself)

    $vms = get-data center-name $dc | Get - VM | where {$_. - don't $vc name - and $_.} PowerState - eq "Receptor"}

    # Stop the virtual machines in the data center located in a State power.

    {Foreach ($vm to $vms)

    if($VM.) {ExtensionData.Config.Tools.ToolsVersion - only '0')}

    stop #gracefully

    Stop-VMGuest - VM $vm - confirm: $false

    sleep - 60 seconds

    }

    #forcefully VM stop

    Stop-VM - $vm VM - confirm: $false

    }

    # Stop vCenter VM (comment if vCenter is not virtual)

    sleep - 120 seconds

    Stop-VMGuest - VM $vc - confirm: $false

  • PuTTY of appeal via Powershell using Plink - how auto answer the key question of safety

    I'm working on a script that you call PuTTY via Powershell using Plink.exe.  However, we use automatically generated keys, so I need to answer the question "do you trust this security key" during the execution of my script.

    I found through this blog (http://www.virtu-al.net/2013/01/07/ssh-powershell-tricks-with-plink-exe/), you can use ' echo y | Plink.exe", however I do not know where to put this in the script to work properly.  Any help would be appreciated!

    Thank you!

    It's the "-batch ' option.  Remove that fixed the issue.

  • How do I restart the network management via SSH?

    How can I go on the reboot of the management network via SSH? Or can I still do. I don't mean services.sh reboot, I need the network management not the management agents.

    Any help is appreciated.

    What version of esxi do you use?

    If you type

    > dcui

    You can control the ESXi in the medium dcui@ssh and restart your agents in there

  • Installation on Debian via SSH?

    Hello world

    I wonder if it is possible to install the latest version of ColdFusion on Debian using SSH (the only means to access my server I have are SSH and FTP)? If so, are there articles in the knowledge base or tutorials about it?

    I don't see why not, I install on Redhat/CentOS repeatedly via SSH. Assuming that there are no problems related to Deb, it should be like any other Linux installation.

    No real need of tutorials be honest, if it works then it is just a case of following the on-screen guests, the default values are normally further.

    O.

  • Can I upload HR via SSH?

    Can I publish in HR worm x 5 via SSH? I see four options (FTP, HTTP, Frontpage and file system), but no option for SSH. Does this mean that I have to download my files manually using a SSH client? Thanks for any help.

    Hi lcjohn

    In fact, you should probably use the SSH client to do it manually. What you see is what you get.

    See you soon... Rick

Maybe you are looking for

  • How can I see what devices are "authorized" computers

    Is the iPad and iPhone connected by a common appleID included automatically? How can I see what other devices are 'allowed' and could be deleted, for example, a computer has been replaced and the device wasn't "deauthorized" before you replace and ma

  • HP OFFICEJET 4355

    Dear HP, Please guide me how to set the machine automatically receive incoming fax?  Currently I have to press the button "start". After the ring of fax incoming, to allow to receive faxes. Look forward to your prompt response.

  • mSVCR71.dll not found

    Hello I get a not found "mSVCR71.dll" error message while trying to play a few songs from a Web site. Please let me know how it can be retrieved. Hello I got a solution of your forum to run "sfc /scan" CMD. I did this and got the results shows. C:\Wi

  • System.out.println () in the performance of blackberry

    Hello everyone. Can I print the messages during execution of an application from BlackBerry device? I would like to make something the link tipical System.out.println ("' you are in" "); I don't want messages between class and then use add (ritchtext

  • Cisco SPA504G IP phone system

    We SPA504G IP telephony and system of the need to change the voice message from an employee completed and do not have their password.  How to do this?  Thank you