The ssh command is ran by your server. Did you check that the account running your server can ssh into the machine?
Jean-Marc On Nov 30, 2010 2:14 AM, "madhuri" <[email protected]> wrote: > Hi, > > I am facing ssh issue as below, when I submit a job through the autotest > scheduler. > > Permission denied (publickey,gssapi-with-mic,password). > > ssh password-less authentication is enabled in both server and client > and also I gave chmod 700 .ssh and 600 to authorized_keys. > > I have executed the below ssh -a -x command in log manually and i could > able to log into client machine. Dont know why it was giving permission > denied.please let me know where I am doing wrong. > > Log: > === > /atest job create -m xx.beaverton.ibm.com > --control-file /usr/local/autotest/client/tests/kvm/control -w > yy.beaverton.ibm.com -n job12 --reboot_before=never > --reboot_after=never --parse-failed-repair=false > > Command: > /usr/bin/ssh -a -x -o StrictHostKeyChecking=no -o > UserKnownHostsFile=/dev/fd/20 -o BatchMode=yes -o ConnectTimeout=30 > -o > ServerAliveInterval=300 -l root -p 22 xx.beaverton.ibm.com " rm -f > /var/log/messages.autotest_start" > Exit status: 255 > Duration: 0.544964075089 > > stderr: > Permission denied (publickey,gssapi-with-mic,password). > 11/29 01:02:53 DEBUG| ssh_host:0114| Running (ssh) '/bin/uname -r' > 11/29 01:02:54 ERROR| utils:0106| [stderr] Permission denied > (publickey,gssapi-with-mic,password).^M > 11/29 01:02:54 ERROR|server_job:0549| Exception escaped control file, > job aborting: > Traceback (most recent call last): > File "/usr/local/autotest/server/server_job.py", line 541, in run > self._execute_code(server_control_file, namespace) > File "/usr/local/autotest/server/server_job.py", line 1021, in > _execute_code > execfile(code_file, namespace, namespace) > File > "/usr/local/autotest/results/17-root/xx.beaverton.ibm.com/control.srv", > line 12, in <module> > job.parallel_simple(run_client, machines) > File "/usr/local/autotest/server/server_job.py", line 443, in > parallel_simple > return_results=return_results) > File "/usr/local/autotest/server/subcommand.py", line 92, in > parallel_simple > function(arg) > File > "/usr/local/autotest/results/17-root/xx.beaverton.ibm.com/control.srv", > line 8, in run_client > host.log_kernel() > File "/usr/local/autotest/client/common_lib/hosts/base_classes.py", > line 560, in log_kernel > kernel = self.get_kernel_ver() > File "/usr/local/autotest/client/common_lib/hosts/base_classes.py", > line 519, in get_kernel_ver > return self.run('/bin/uname -r').stdout.rstrip() > File "/usr/local/autotest/server/hosts/ssh_host.py", line 123, in run > stdin, args) > File "/usr/local/autotest/server/hosts/ssh_host.py", line 94, in _run > raise error.AutoservRunError("command execution error", result) > AutoservRunError: command execution error > * Command: > /usr/bin/ssh -a -x -o StrictHostKeyChecking=no -o > UserKnownHostsFile=/dev/fd/20 -o BatchMode=yes -o ConnectTimeout=30 > -o > ServerAliveInterval=300 -l root -p 22 xx.beaverton.ibm.com " > /bin/uname -r" > Exit status: 255 > Duration: 0.551712036133 > > Thanks, > Madhuri > > _______________________________________________ > Autotest mailing list > [email protected] > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
_______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
