English 中文(简体)
programmatically setting up eucalyptus node controller keys
原标题:

I had a general question regarding the way eucalyptus setups ssh keypairs for the various controllers like cluster, node etc. Currently my task at hand is to automate setup of eucalyptus (including ssh ing into machines and settuping up cluster controller and node controllers). If i have to do this programmatically, i need somehow setup sshkeys for node controllers. How do i go about doing that. After registering a nc by hand, i don t see any authorized_keys file in either root s home or eucalyptus s home. Also the /etc/ssh/sshd_config does not show a change in authorized_keys location on the node-controller.

Please help me resolve this question.

问题回答

Eucalyptus ssh connection between the CC and the NCs is done using the eucalyptus user. The root directory for the user eucalyptus is /var/lib/eucalyptus. There you ll find the .ssh directory containing the knownhost and the id_rsa.pub files.

In the Eucalyptus install/configuration process you ll find more info.





相关问题
ssh issue in a loop

I have a script that connects to a server using ssh. While in a loop, it fails to connect to the second server after connecting to the first one. I guess I have to quit from that server to come back ...

Python SSH paramiko issue - ssh from inside of ssh session

import paramiko client = paramiko.SSHClient() client.load_system_host_keys() ip = 192.168.100.6 client.connect(ip, username= root , password= mima ) i, o, e = client.exec_command( apt-get install ...

Trying to get a terminal to work in Emacs

I ve been having a lot of problems with emacs and trying to get the terminal to work with: M-x term I installed cygwin and I fixed up my .emacs to include the paths: (setenv "PATH" (concat "...

How can I debug a Perl CGI script?

I inherited a legacy Perl script from an old server which is being removed. The script needs to be implemented on a new server. I ve got it on the new server. The script is pretty simple; it ...

ActionScript 3 and SSH

Is there a library for SSH in ActionScript 3? If not, I d appreciate some ideas on how to have Flash integrate with SSH. I have a Flash prototype programmed out, and my client wants to see some ...

Solving thread cleanup on paramiko

I have an automated process using paramiko and have this error: Exception in thread Thread-1 (most likely raised during interpreter shutdown) .... .... <type exceptions.AttributeError >: ...

how to use ping in a script

I want a bash script that ll do: for c in computers: do ping $c if ping is sucessfull: ssh $c check something done If I only do ssh and the computer is iresponsive, it takes forever ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

热门标签