*Hi,*

*Im creating a base Unix image (RHEL).*

*Just few weeks ago, I was able to create 2 RHEL 6 Images successfully.*

*Lately, when I try to create the images, I always get the error of SSH
permission denied.*

* In fact, during the creation, VCL was able to connect to the base virtual
machine, then VCL executes a lot of commands and changes, and finally, it
got stuck at SSH permission denied.*

*Please help. What could be the reason for this?*

*Thanks-*

*Dan Huynh*


RECENT LOG ENTRIES FOR THIS PROCESS:

|462|24:24|image| 2013-05-17
15:56:19|462|24:24|image|utils.pm:run_ssh_command(5010)|attempt
2/3: failed to execute SSH command on base-rhel6x64: 'ls -d --color=never
"/etc/sysconfig/network-scripts" 2>&1 || mkdir -p
"/etc/sysconfig/network-scripts" 2>&1 && ls -d --color=never
"/etc/sysconfig/network-scripts"', exit status: 255, SSH exits with the
exit status of the remote command or with 255 if an error occurred, output:

|462|24:24|image| ssh output (ls -d --co...): Permission denied, please try
again.

|462|24:24|image| ssh output (ls -d --co...): Permission denied, please try
again.

|462|24:24|image| ssh output (ls -d --co...): Permission denied
(publickey,gssapi-keyex,gssapi-with-mic,password).

|462|24:24|image| ( 0) utils.pm, run_ssh_command (line: 5010)

|462|24:24|image| (-1) OS.pm, execute (line: 1992) 24:24|image| (-2)

|462|Linux.pm, create_directory (line: 1559) 24:24|image| (-3) OS.pm,

|462|create_text_file (line: 1803) 24:24|image| (-4) Linux.pm,

|462|enable_dhcp (line: 3108) 24:24|image| (-5) Linux.pm, pre_capture

|462|(line: 191)

2013-05-17 15:56:19|462|24:24|image|utils.pm:run_ssh_command(4894)|sleeping
for 4 seconds before making next SSH attempt

2013-05-17 15:56:23|462|24:24|image|utils.pm:run_ssh_command(4906)|attempt
3/3: executing SSH command on base-rhel6x64:

|462|24:24|image| /usr/bin/ssh -i /etc/vcl/vcl.key  -o

|462|StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o

|462|ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x
base-rhel6x64 'ls -d --color=never "/etc/sysconfig/network-scripts" 2>&1 ||
mkdir -p "/etc/sysconfig/network-scripts" 2>&1 && ls -d --color=never
"/etc/sysconfig/network-scripts"' 2>&1 24:24|image| ---- WARNING ----
24:24|image| 2013-05-17
15:56:23|462|24:24|image|utils.pm:run_ssh_command(5010)|attempt
3/3: failed to execute SSH command on base-rhel6x64: 'ls -d --color=never
"/etc/sysconfig/network-scripts" 2>&1 || mkdir -p
"/etc/sysconfig/network-scripts" 2>&1 && ls -d --color=never
"/etc/sysconfig/network-scripts"', exit status: 255, SSH exits with the
exit status of the remote command or with 255 if an error occurred, output:

|462|24:24|image| ssh output (ls -d --co...): Permission denied, please try
again.

|462|24:24|image| ssh output (ls -d --co...): Permission denied, please try
again.

|462|24:24|image| ssh output (ls -d --co...): Permission denied
(publickey,gssapi-keyex,gssapi-with-mic,password).

|462|24:24|image| ( 0) utils.pm, run_ssh_command (line: 5010)

|462|24:24|image| (-1) OS.pm, execute (line: 1992) 24:24|image| (-2)

|462|Linux.pm, create_directory (line: 1559) 24:24|image| (-3) OS.pm,

|462|create_text_file (line: 1803) 24:24|image| (-4) Linux.pm,

|462|enable_dhcp (line: 3108) 24:24|image| (-5) Linux.pm, pre_capture

|462|(line: 191) 24:24|image| ---- WARNING ---- 24:24|image| 2013-05-17

|462|15:56:23|462|24:24|image|utils.pm:run_ssh_command(5043)|failed to run
SSH command after 3 attempts, command: /usr/bin/ssh -i /etc/vcl/vcl.key  -o
StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o
ConnectionAttempts=1 -o ConnectTimeout=3 -l root -p 22 -x base-rhel6x64 'ls
-d --color=never "/etc/sysconfig/network-scripts" 2>&1 || mkdir -p
"/etc/sysconfig/network-scripts" 2>&1 && ls -d --color=never
"/etc/sysconfig/network-scripts"' 2>&1, exit status: 255, output:

|462|24:24|image| ssh output (ls -d --co...): Permission denied, please try
again.

|462|24:24|image| ssh output (ls -d --co...): Permission denied, please try
again.

Reply via email to