Accesing another blade/machine in a script?

Discussion in 'Programming/Scripts' started by questhe, Jun 27, 2007.

  1. questhe

    questhe New Member

    I want to login to another machine or blade to start some applications.

    Is there a way to do this?

    Can the password be kept secure?

  2. Ben

    Ben Active Member Moderator

    what is "machine"? I guess you want to login into any OS running on that machine?
    In case of linux you can e.g. do this via ssh.
    If you want to script this, you have to either store the pwd plaintext on the one machine executing the command + try a bit around with expect.
    The more nice way is to solve this via certificate based authentication, but nevertheless be sure, that if you do not reduce the rights for that user on the remote machine, if machine 1 gets hacked, machine 2 is open for the attacker as well....

    e.g. (based on certificate based auth, remote ssh key already accepted, no Passcode for the cert...
  3. questhe

    questhe New Member

    Yes, I mean another OS.
    How do you get around ssh asking for a password? Are you saying that the CBA will bypass (answer for) the password prompt?
  4. Ben

    Ben Active Member Moderator

  5. falko

    falko Super Moderator Howtoforge Staff

Share This Page