Then take a look at the sshd logs to see why it rejects the ssh login
attempt from localhost. Use "sshd -d ..." to increase logging level.
On 12/26/08, Yedidyah Bar-David wrote:
> On Thu, Dec 25, 2008 at 07:35:34AM -0800, Valery Reznic wrote:
>> > Why not run ssh-keygen on each machine separately
On Thu, Dec 25, 2008 at 06:52:17PM +0200, Erez D wrote:
> the usual route for me is to
>
> 1. on your vmware/qemu generate keys ( i use dsa)
> # ssh keygen -t dsa (with empty password)
>
> 2. copy the .ssh/id_dsa.pub (take the id_dsa.pub, not the id_dsa) to the
> server
>and append it to .ss
the usual route for me is to
1. on your vmware/qemu generate keys ( i use dsa)
# ssh keygen -t dsa (with empty password)
2. copy the .ssh/id_dsa.pub (take the id_dsa.pub, not the id_dsa) to the
server
and append it to .ssh/authorized_keys (or is that authorized_keys2) on
the server.
now you
--- On Thu, 12/25/08, Yedidyah Bar-David wrote:
> From: Yedidyah Bar-David
> Subject: Re: Public key authentication from QEMU
> To: "Valery Reznic"
> Cc: linux-il@cs.huji.ac.il
> Date: Thursday, December 25, 2008, 5:25 PM
> On Thu, Dec 25, 2008 at 07:00:53AM -0800, Valery Reznic
> wrote:
> [
On Thu, Dec 25, 2008 at 07:35:34AM -0800, Valery Reznic wrote:
> > Why not run ssh-keygen on each machine separately?
> I tried that and it doesn't work too.
You mean you created a keypair on the host, and ssh to itself does not
work? I'd start with debugging this, before playing with qemu. Care t
--- On Thu, 12/25/08, Yedidyah Bar-David wrote:
> From: Yedidyah Bar-David
> Subject: Re: Public key authentication from QEMU
> To: "Valery Reznic"
> Cc: linux-il@cs.huji.ac.il
> Date: Thursday, December 25, 2008, 3:55 PM
> On Thu, Dec 25, 2008 at 05:14:33AM -0800, Valery Reznic
> wrote:
> >
On Thu, Dec 25, 2008 at 07:00:53AM -0800, Valery Reznic wrote:
[snip]
> val...@debian:~/.ssh$ diff qemu.log vmware.log
[snip]
> < OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8c 05 Sep 2006
> < debug1: Reading configuration data /home/valery/.ssh/config
> ---
> > OpenSSH_4.5p1, OpenSSL 0.9.8b 04 May 2006
[s
--- On Thu, 12/25/08, Tzafrir Cohen wrote:
> From: Tzafrir Cohen
> Subject: Re: Public key authentication from QEMU
> To: linux-il@cs.huji.ac.il
> Date: Thursday, December 25, 2008, 3:45 PM
> On Thu, Dec 25, 2008 at 05:14:33AM -0800, Valery Reznic
> wrote:
> > I have Linux box and it hosts an
On Thu, Dec 25, 2008 at 05:14:33AM -0800, Valery Reznic wrote:
> I have Linux box and it hosts another Linux in VMware and yet another one in
> QEMU
>
> I want to be able to login from both VMWare and QEMU to host computer without
> being asked password.
>
> So I took usual route - generated pr
On Thu, Dec 25, 2008 at 05:14:33AM -0800, Valery Reznic wrote:
> I have Linux box and it hosts another Linux in VMware and yet another one in
> QEMU
>
> I want to be able to login from both VMWare and QEMU to host computer without
> being asked password.
>
> So I took usual route - generated pr
I have Linux box and it hosts another Linux in VMware and yet another one in
QEMU
I want to be able to login from both VMWare and QEMU to host computer without
being asked password.
So I took usual route - generated private/public key with keygen (rsa keys),
put private key in the Linux on VMWa
On Thu, Dec 25, 2008 at 12:49 PM, Valery Reznic wrote:
>
>
>
> --- On Thu, 12/25/08, Erez D wrote:
>
> > From: Erez D
> > Subject: bash q -substitution
> > To: "linux-il"
> > Date: Thursday, December 25, 2008, 11:20 AM
> > hi
> >
> > i need to convert a string using bash
> >
> >
> > input_000.t
--- On Thu, 12/25/08, Erez D wrote:
> From: Erez D
> Subject: bash q -substitution
> To: "linux-il"
> Date: Thursday, December 25, 2008, 11:20 AM
> hi
>
> i need to convert a string using bash
>
>
> input_000.txt -> i need to extract the 000
For this exact pattern you can do
echo ${i:6:3}
hi
i need to convert a string using bash
input_000.txt -> i need to extract the 000
using sed i would do : sed 's/^.*_//ls/\.txt$//'
using bash i can do in two lines:
(assuming input-string is stored in variable 'i' )
x=${i##*_}
result=${x%%.txt}
can it be done in bash in one line ? (i.e. c
14 matches
Mail list logo