Join us at engage.eucalyptus.com
Hi all, I have been reading through the forums for a long time but could not find any solution that worked out. I am able to ping the VM instance that has been started by euca-run-instnaces emi-xxxxxx -k mykey root@192.168.10.200. It asks for password when i try to make an ssh access using the my.priv. Similar problems have been reported in the forums and none of the solution works for me. Could anyone please help me.
Your VM is getting IP and you are able to ping the VM. When you try to SSH the instance, it is asking Password. This is because of two reasons.
1. You are starting the instance with "mykey" . While trying to connect to your instance you need to use "mykey.private". If this file is not located or path is not properly set in the environment, SSH will ask password.
2. You can also do one thing. Go to .ssh folder under root. The is a file called "known-hosts". Edit that file and delete if any entry with the instance IP address. Save the file.
Now try : ssh -i mykey.private root@. It may not ask password.
reg
I do it like this,
create a key with Hybridfox,
save the key in the .ssh folder,
go to the ssh folder,
sudo ssh -i id-???(the key) root@ip.
Here is the output of euca-get-console-output
root@cloud1:~/.ssh# euca-get-console-output i-4364081B
i-4364081B
2011-03-18T06:47:19.439Z
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.31-14-server (buildd@crested) (gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 (Ubuntu 2.6.31-14.48-server)
[ 0.000000] Command line: root=/dev/sda1 console=ttyS0
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
[ 0.000000] BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000000bffb000 (usable)
[ 0.000000] BIOS-e820: 000000000bffb000 - 000000000c000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fffbc000 - 0000000100000000 (reserved)
[ 0.000000] DMI 2.4 present.
[ 0.000000] last_pfn = 0xbffb max_arch_pfn = 0x400000000
[ 0.000000] PAT not supported by CPU.
[ 0.000000] Scanning 1 areas for low memory corruption
[ 0.000000] modified physical RAM map:
[ 0.000000] modified: 0000000000000000 - 0000000000001000 (usable)
[ 0.000000] modified: 0000000000001000 - 0000000000006000 (reserved)
[ 0.000000] modified: 0000000000006000 - 000000000009f000 (usable)
[ 0.000000] modified: 000000000009f000 - 00000000000a0000 (reserved)
[ 0.000000] modified: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] modified: 0000000000100000 - 000000000bffb000 (usable)
[ 0.000000] modified: 000000000bffb000 - 000000000c000000 (reserved)
[ 0.000000] modified: 00000000fffbc000 - 0000000100000000 (reserved)
[ 0.000000] init_memory_mapping: 0000000000000000-000000000bffb000
[ 0.000000] Using x86 segment limits to approximate NX protection
[ 0.000000] RAMDISK: 0bc40000 - 0bfef20c
[ 0.000000] ACPI: RSDP 00000000000f8940 00014 (v00 BOCHS )
[ 0.000000] ACPI: RSDT 000000000bffde30 00034 (v01 BOCHS BXPCRSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: FACP 000000000bfffe70 00074 (v01 BOCHS BXPCFACP 00000001 BXPC 00000001)
[ 0.000000] ACPI: DSDT 000000000bffdfd0 01E22 (v01 BXPC BXDSDT 00000001 INTL 20090123)
[ 0.000000] ACPI: FACS 000000000bfffe00 00040
[ 0.000000] ACPI: SSDT 000000000bffdf90 00037 (v01 BOCHS BXPCSSDT 00000001 BXPC 00000001)
[ 0.000000] ACPI: APIC 000000000bffdeb0 00072 (v01 BOCHS BXPCAPIC 00000001 BXPC 00000001)
[ 0.000000] ACPI: HPET 000000000bffde70 00038 (v01 BOCHS BXPCHPET 00000001 BXPC 00000001)
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-000000000bffb000
[ 0.000000] Bootmem setup node 0 0000000000000000-000000000bffb000
[ 0.000000] NODE_DATA [0000000000009000 - 000000000000dfff]
[ 0.000000] bootmap [000000000000e000 - 000000000000f7ff] pages 2
[ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 000bffb000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
[ 0.000000] #2 [0001000000 - 00019e0ccc] TEXT DATA BSS ==> [0001000000 - 00019e0ccc]
[ 0.000000] #3 [000bc40000 - 000bfef20c] RAMDISK ==> [000bc40000 - 000bfef20c]
[ 0.000000] #4 [000009f000 - 0000100000] BIOS reserved ==> [000009f000 - 0000100000]
[ 0.000000] #5 [00019e1000 - 00019e1071] BRK ==> [00019e1000 - 00019e1071]
[ 0.000000] #6 [0000008000 - 0000009000] PGTABLE ==> [0000008000 - 0000009000]
[ 0.000000] found SMP MP-table at [ffff8800000f8990] f8990
[ 0.000000] kvm-clock: cpu 0, msr 0:1836801, boot clock
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal 0x00100000 -> 0x00100000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00000001
[ 0.000000] 0: 0x00000006 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x0000bffb
[ 0.000000] ACPI: PM-Timer IO Port: 0xb008
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: 0000000000001000 - 0000000000006000
[ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[ 0.000000] Allocating PCI resources starting at c000000 (gap: c000000:f3fbc000)
[ 0.000000] NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 30 pages at ffff8800019e7000, static data 90720 bytes
[ 0.000000] kvm-clock: cpu 0, msr 0:19fc801, primary cpu clock
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 48272
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: root=/dev/sda1 console=ttyS0
[ 0.000000] PID hash table entries: 1024 (order: 10, 8192 bytes)
[ 0.000000] Initializing CPU#0
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Memory: 177972k/196588k available (5303k kernel code, 408k absent, 18208k reserved, 3013k data, 660k init)
[ 0.000000] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:4352 nr_irqs:256
[ 0.000000] Detected 2128.230 MHz processor.
[ 0.010000] Console: colour VGA+ 80x25
[ 0.010000] console [ttyS0] enabled
[ 0.010000] allocated 2621440 bytes of page_cgroup
[ 0.010000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.010000] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
[ 0.030007] Calibrating delay loop (skipped) preset value.. 4256.46 BogoMIPS (lpj=21282300)
[ 0.031434] Security Framework initialized
[ 0.031962] AppArmor: AppArmor initialized
[ 0.032564] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.033759] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.034810] Mount-cache hash table entries: 256
[ 0.035637] Initializing cgroup subsys ns
[ 0.036182] Initializing cgroup subsys cpuacct
[ 0.036807] Initializing cgroup subsys memory
[ 0.037398] Initializing cgroup subsys freezer
[ 0.037954] Initializing cgroup subsys net_cls
[ 0.038608] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.040005] CPU: L2 cache: 4096K
[ 0.040486] CPU 0/0x0 -> Node 0
[ 0.040880] mce: CPU supports 10 MCE banks
[ 0.041511] Performance Counters: unsupported p6 CPU model 2 no PMU driver, software counters only.
[ 0.042753] SMP alternatives: switching to UP code
[ 0.068413] Freeing SMP alternatives: 39k freed
[ 0.069053] ACPI: Core revision 20090521
[ 0.070488] Setting APIC routing to flat
[ 0.072731] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.073633] CPU0: Intel QEMU Virtual CPU version 0.12.3 stepping 03
[ 0.080000] Brought up 1 CPUs
[ 0.080000] Total of 1 processors activated (4256.46 BogoMIPS).
[ 0.080000] Booting paravirtualized kernel on KVM
[ 0.080000] regulator: core version 0.5
[ 0.080000] Time: 6:22:58 Date: 03/18/11
[ 0.080000] NET: Registered protocol family 16
[ 0.080000] ACPI: bus type pci registered
[ 0.080000] PCI: Using configuration type 1 for base access
[ 0.080000] bio: create slab at 0
[ 0.080000] ACPI: Interpreter enabled
[ 0.080006] ACPI: (supports S0 S3 S4 S5)
[ 0.080706] ACPI: Using IOAPIC for interrupt routing
[ 0.083722] ACPI: No dock devices found.
[ 0.084312] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.086373] pci 0000:00:01.3: quirk: region b000-b03f claimed by PIIX4 ACPI
[ 0.087331] pci 0000:00:01.3: quirk: region b100-b10f claimed by PIIX4 SMB
[ 0.095989] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[ 0.096991] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[ 0.097941] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[ 0.098872] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[ 0.100362] SCSI subsystem initialized
[ 0.101527] usbcore: registered new interface driver usbfs
[ 0.102358] usbcore: registered new interface driver hub
[ 0.103142] usbcore: registered new device driver usb
[ 0.104104] ACPI: WMI: Mapper loaded
[ 0.104644] PCI: Using ACPI for IRQ routing
[ 0.105512] Bluetooth: Core ver 2.15
[ 0.106095] NET: Registered protocol family 31
[ 0.106736] Bluetooth: HCI device and connection manager initialized
[ 0.107603] Bluetooth: HCI socket layer initialized
[ 0.108333] NetLabel: Initializing
[ 0.108837] NetLabel: domain hash size = 128
[ 0.109423] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.110030] NetLabel: unlabeled traffic allowed by default
[ 0.110930] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 0.111689] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[ 0.124200] pnp: PnP ACPI init
[ 0.124976] ACPI: bus type pnp registered
[ 0.127018] pnp: PnP ACPI: found 7 devices
[ 0.127937] ACPI: ACPI bus type pnp unregistered
[ 0.133857] AppArmor: AppArmor Filesystem Enabled
[ 0.134612] NET: Registered protocol family 2
[ 0.135367] IP route cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.136681] TCP established hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.137832] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.138885] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.139838] TCP reno registered
[ 0.140406] NET: Registered protocol family 1
[ 0.141304] Trying to unpack rootfs image as initramfs...
[ 0.236968] Freeing initrd memory: 3772k freed
[ 0.238710] Scanning for low memory corruption every 60 seconds
[ 0.239796] audit: initializing netlink socket (disabled)
[ 0.240626] type=2000 audit(1300429379.240:1): initialized
[ 0.252584] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.254861] VFS: Disk quotas dquot_6.5.2
[ 0.255509] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.257090] fuse init (API version 7.12)
[ 0.257740] msgmni has been set to 355
[ 0.258641] alg: No test for stdrng (krng)
[ 0.259245] io scheduler noop registered
[ 0.259797] io scheduler anticipatory registered
[ 0.260479] io scheduler deadline registered (default)
[ 0.261522] io scheduler cfq registered
[ 0.262516] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.263603] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.264401] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.265357] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.266162] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.267159] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 0.268147] ACPI: Power Button [PWRF]
[ 0.269063] processor LNXCPU:00: registered as cooling_device0
[ 0.271637] Linux agpgart interface v0.103
[ 0.272209] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.273286] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.274473] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.276189] brd: module loaded
[ 0.277103] loop: module loaded
[ 0.277626] input: Macintosh mouse button emulation as /devices/virtual/input/input1
[ 0.279235] scsi0 : ata_piix
[ 0.279756] scsi1 : ata_piix
[ 0.280225] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc000 irq 14
[ 0.281301] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc008 irq 15
[ 0.284011] Fixed MDIO Bus: probed
[ 0.284516] PPP generic driver version 2.4.2
[ 0.285203] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.286099] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.286931] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.288285] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 0.289078] uhci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11
[ 0.290269] uhci_hcd 0000:00:01.2: UHCI Host Controller
[ 0.291041] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[ 0.292151] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c020
[ 0.293048] usb usb1: configuration #1 chosen from 1 choice
[ 0.293896] hub 1-0:1.0: USB hub found
[ 0.294452] hub 1-0:1.0: 2 ports detected
[ 0.295138] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 0.296770] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.297434] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 0.298204] mice: PS/2 mouse device common for all mice
[ 0.299102] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0
[ 0.300088] rtc0: alarms up to one day, 114 bytes nvram, hpet irqs
[ 0.301350] device-mapper: uevent: version 1.0.3
[ 0.303246] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[ 0.304777] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[ 0.306006] device-mapper: multipath: version 1.1.0 loaded
[ 0.306773] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 0.307860] cpuidle: using governor ladder
[ 0.308459] cpuidle: using governor menu
[ 0.309423] TCP cubic registered
[ 0.310049] NET: Registered protocol family 10
[ 0.311120] lo: Disabled Privacy Extensions
[ 0.312010] NET: Registered protocol family 17
[ 0.312682] Bluetooth: L2CAP ver 2.13
[ 0.313192] Bluetooth: L2CAP socket layer initialized
[ 0.313872] Bluetooth: SCO (Voice Link) ver 0.6
[ 0.314504] Bluetooth: SCO socket layer initialized
[ 0.315215] Bluetooth: RFCOMM TTY layer initialized
[ 0.315893] Bluetooth: RFCOMM socket layer initialized
[ 0.316605] Bluetooth: RFCOMM ver 1.11
[ 0.317244] registered taskstats version 1
[ 0.317890] Magic number: 3:789:367
[ 0.318529] rtc_cmos 00:01: setting system clock to 2011-03-18 06:22:58 UTC (1300429378)
[ 0.319632] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.320466] EDD information not available.
[ 0.460820] ata2.00: ATAPI: QEMU DVD-ROM, 0.12.3, max UDMA/100
[ 0.463267] ata2.00: configured for MWDMA2
[ 0.465621] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 0.12 PQ: 0 ANSI: 5
[ 0.471256] sr0: scsi3-mmc drive: 4x/4x xa/form2 tray
[ 0.472143] Uniform CD-ROM driver Revision: 3.20
[ 0.472945] sr 1:0:0:0: Attached scsi generic sg0 type 5
[ 0.473729] Freeing unused kernel memory: 660k freed
[ 0.474819] Write protecting the kernel read-only data: 7572k
Loading, please wait...
Couldn't get a file descriptor referring to the console
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system... ...
[ 0.888693] Intel(R) PRO/1000 Network Driver - version 7.3.21-k3-NAPI
[ 0.889665] Copyright (c) 1999-2006 Intel Corporation.
[ 0.900473] FDC 0 is a S82078B
[ 0.901889] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
[ 0.902734] e1000 0000:00:03.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, high) -> IRQ 10
[ 1.215566] e1000: 0000:00:03.0: e1000_probe: (PCI:33MHz:32-bit) d0:0d:43:64:08:1b
[ 1.287435] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[ 1.288904] sym53c8xx 0000:00:04.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11
[ 1.291604] sym0: <895a> rev 0x0 at pci 0000:00:04.0 irq 11
[ 1.294494] sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking
[ 1.300099] sym0: SCSI BUS has been reset.
[ 1.308209] scsi2 : sym-2.2.3
[ 4.300371] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 0.12 PQ: 0 ANSI: 3
[ 4.301929] scsi target2:0:0: tagged command queuing enabled, command queue depth 16.
[ 4.304094] scsi target2:0:0: Beginning Domain Validation
[ 4.306606] scsi target2:0:0: Domain Validation skipping write tests
[ 4.308445] scsi target2:0:0: Ending Domain Validation
[ 4.316718] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 4.318644] sd 2:0:0:0: [sda] 4286464 512-byte logical blocks: (2.19 GB/2.04 GiB)
[ 4.320959] sd 2:0:0:0: [sda] Write Protect is off
[ 4.322068] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 4.323596] sda: sda1 sda3
[ 4.325638] sd 2:0:0:0: [sda] Attached SCSI disk
Done.
Begin: Running /scripts/local-premount ...
Done.
[ 4.391585] kjournald starting. Commit interval 5 seconds
[ 4.392659] EXT3-fs: mounted filesystem with writeback data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Begin: Starting AppArmor profiles ...
[ 4.531001] type=1505 audit(1300429382.711:2): operation="profile_load" pid=321 name=/sbin/dhclient3
[ 4.533110] type=1505 audit(1300429382.711:3): operation="profile_load" pid=321 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[ 4.534937] type=1505 audit(1300429382.711:4): operation="profile_load" pid=321 name=/usr/lib/connman/scripts/dhclient-script
[ 4.588073] type=1505 audit(1300429382.761:5): operation="profile_load" pid=322 name=/usr/sbin/tcpdump
Done.
Done.
[ 4.656406] EXT3-fs warning: checktime reached, running e2fsck is recommended
[ 4.693411] EXT3 FS on sda1, internal journal
* Setting preliminary keymap... ec2: Generating public/private rsa key pair.
ec2: Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
ec2: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
ec2: The key fingerprint is:
ec2: 09:82:fc:eb:48:35:74:89:4e:ee:17:45:bd:ff:fe:03 root@ubuntu
ec2: The key's randomart image is:
ec2: +--[ RSA 2048]----+
ec2: | .. |
ec2: | . . . o . |
ec2: | o = + . . |
ec2: | * o o .. |
ec2: | * . S . |
ec2: | o o . .E |
ec2: | . o . .. |
ec2: | . o . .. |
ec2: | . . ...o|
ec2: +-----------------+
ec2: Generating public/private dsa key pair.
ec2: Your identification has been saved in /etc/ssh/ssh_host_dsa_key.
ec2: Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.
ec2: The key fingerprint is:
ec2: 12:fb:2d:1b:a4:31:b6:72:0f:e1:46:b1:7f:50:ff:d2 root@ubuntu
ec2: The key's randomart image is:
ec2: +--[ DSA 1024]----+
ec2: | |
ec2: | |
ec2: | o . |
ec2: | = . . |
ec2: | X S . |
ec2: | + @ o o |
ec2: | . B = o . E |
ec2: | + o = . |
ec2: | o |
ec2: +-----------------+
ec2:
ec2:
ec2: #############################################################
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: 2048 09:82:fc:eb:48:35:74:89:4e:ee:17:45:bd:ff:fe:03 /etc/ssh/ssh_host_rsa_key.pub (RSA)
ec2: 1024 12:fb:2d:1b:a4:31:b6:72:0f:e1:46:b1:7f:50:ff:d2 /etc/ssh/ssh_host_dsa_key.pub (DSA)
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################
* Starting OpenBSD Secure Shell server sshd
I am using Managed NOVLAN mode and followed eucabookv2 for setting up cloud..
Hello,
which image are you using? Have you tried our pre-pacakged images? Do you have the same problem with them?
cheers
graziano
i can ping instance ip and when do ssh it asks for password. I have edited and deleted the instance ip in known_hosts, still facing the same problem.
I am using fedora test image,
[root@frontend .ssh]# euca-get-console-output i-471408E3
i-471408E3
2012-02-10T04:41:21.556Z
[root@frontend .ssh]# ^C
[root@frontend .ssh]# euca-get-console-output i-4E5A07D9
i-4E5A07D9
2012-02-10T04:42:02.131Z
I have been trying this since one month, please help me
Hi,
Are you using the ssh key to login ? As there is no password to login to the instance. It is via the SSH Keys. Hope this link helps:
http://open.eucalyptus.com/wiki/EucalyptusGettingStarted_v2.0
check section 4.2, 4.3, 4.4 and 4.5
Cheers!
Deependra
I have followed the same document, generated the key and i did authorization as well, still facing same problem
[root@frontend .ssh]# ssh -i mykey.private root@10.58.135.202
Warning: Identity file mykey.private not accessible: No such file or directory.
root@10.58.135.202's password:
i saved mykey.private file in ~/.euca directory...
Why this is unable to locate that file ....
Please tell me anymore information needed to from my side
Hmm not accessible. Is it there? How you created it?
Like this?
euca-add-keypair mykey > mykey.private
Better create another one and use that while starting the instance if you lost mykey.private already. Also you need to set the permission of the file to 0600.
chmod 0600 mykey.private
Hope this helps.
Cheers!
Deependra
I have the same problem. Following instructions step by step. But when ssh to the instance, no matter using "ubuntu" or "root" as the username, it keeps asking me the password. I get the console from the NC and it also asks me for password. I am desperate because I cannot log into the vm. I'm using Ubuntu 9.04 32-bit downloaded from the Archived EMI .
The verbose shows,
debug1: Next authentication method: publickey
debug1: Trying private key: id_keyWin
debug1: read PEM private key done: type RSA
debug3: sign_and_send_pubkey: RSA f0:de:79:31:32:ef:a8:fe:7b:c0:b4:73:cb:27:60:f7
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug2: we did not send a packet, disable method
Does anyone know what does it mean by "we did not send a packet, disable method". What kind of error it is indicating?? Is it that the private/public key doesn't match so that the authentication fails on the server(instance) side??
I have checked the nc.log and the key injection doesn't encounter any error. On the front-end cc.log,
print_ccInstance(): refresh_instances(): instanceId=i-4F39094B reservationId=r-32CE06DC emiId=emi-08E31161 kernelId=eki-266511C5 ramdiskId=eri-5DE61292 emiURL=http://10.13.66.13:8773/services/Walrus/mybucket/ubuntu.9-04.x86.img.manifest.xml kernelURL=http://10.13.66.13:8773/services/Walrus/mybucket/vmlinuz-2.6.24-19-xen.manifest.xml ramdiskURL=http://10.13.66.13:8773/services/Walrus/mybucket/initrd.img-2.6.24-19-xen.manifest.xml state=Extant ts=1328885734 ownerId=admin keyName=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCKq0eFm/taJ7G22sqAXdUeh6pLKhRJW8WI9XVxht7
m5ElQhEmlLsIP9gI3Vp8ZQIVLTnYOgm2PgtOPGF4FCFG+Su6W2DfPAKSnDaWer2oeEza01Eej
gdpolSCvkpAwRFDN6sbJCAFSM7lMiUqjblzsK5F7pCPgHinbkeGzFN5LvSdg1oxqtUuS/h0fM1Mm
4g2q+CxbLHpHaS9xGNYeoLO7XZPcUSTKEdXQtyfRxeoiICAmm4EhvN407SfEl7pxz1Qmv1ubfk+
KJPRAuhoR3JntRGEtr7IkKQZG6EhdW5+lwJ8Af3QAYUJUdHdsgx6dEoQBj3XNboo35gOIc4fdF2V
admin@eucalyptus ccnet={privateIp=172.19.1.2 publicIp=10.13.66.100 privateMac=D0:0D:4F:39:09:4B vlan=10 networkIndex=2} ccvm={cores=2 mem=512 disk=10} ncHostIdx=1 serviceTag=http://10.13.66.12:8775/axis2/services/EucalyptusNC userData= launchIndex=0 volumesSize=0 volumes={} groupNames={default }
Therefore, I saw the public key of admin@eucalyptus. But unfortunately, I don't know on the client side, how I can check my public key when using "euca-add-keypair" to generate the keypair (the only output is the private key). So does anyone know what I can do now?
Million thanks!!!!
Since that I am desperate, I try to play with another image Fedora 10 and it works!!! I also tried to mount the ubuntu image and check the rc.local. The file is fine, but I noticed that when I get the console and check the booting message, it didn't output "AUTHORIZED_KEYS:" "**********************". In which case I suspect that the rc.local doesn't read the key and create the authorized_key file for some reason. Maybe I will create my own image and to see if it works or not.
Hi,
Thanks for testing the images. Can you try out the new starter EMI's for your setup and let us know how it goes for you?
http://open.eucalyptus.com/wiki/starter-emis
Thanks again.
Cheers!
Deependra