Of course,
I made a mistake writing the email .... but I'm using the right one:
authorized_keys

Thanks,
Sereno


2010/1/7 Leslie H Wood <leslie.w...@sun.com>

> I think that should be "authorized_keys" and not "authorized_host"
>
>
> -># *ls -al*
>    total 14
>    drwx------    2 root      other         512 Mar   7 15:25 .
>    drwxr-xr-x    24 root      root         1024 Mar   7 03:33 ..
>    -rw-------    1 root      other       1664 Mar   7 15:34 authorized_keys
>
>    -rw-------    1 root      other         883 Mar   7 15:31 id_rsa
>    -rw-r--r--     1 root      other         227 Mar   7 15:31 id_rsa.pub
>    -rw-r--r--     1 root      other         230 Mar   7 14:58 known_hosts
>
> Copy contents of *"id_rsa.pub"* to target host *"authorized_keys"*
>
>
>
> Sereno Ternullo wrote, On 01/07/10 08:27:
>
> Hi All,
>
> I'd need some help about SSH:
> I've got two Solaris machine, Host A and Host B,
> and I want A to connect B through RSA authentication,
> avoiding password request.
>
> These the steps I performed on Host A:
>
> $ ssh-keygen -t rsa
> $ scp .ssh/id_rsa.pub u...@hostb:/home/user/.ssh/
>
> On Host B:
> $ cat id_rsa.pub >> authorized_host
>
> ... but ssh keeps asking password
>
> By using ssh -vvv, I get:
>
> [...]
> debug1: Next authentication method: publickey
> debug1: Trying private key: /export/home/user/.ssh/identity
> debug1: Trying public key: /export/home/user/.ssh/id_rsa
> debug2: we sent a publickey packet, wait for reply
> debug1: Authentications that can continue:
> gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive
> debug1: Trying private key: /export/home/user/.ssh/id_dsa
> debug2: we did not send a packet, disable method
> debug1: Next authentication method: keyboard-interactive
> debug2: userauth_kbdint
> debug2: we sent a keyboard-interactive packet, wait for reply
> debug2: input_userauth_info_req
> debug2: input_userauth_info_req: num_prompts 1
> debug1: Next authentication method: publickey
> debug1: Trying private key: /export/home/user/.ssh/identity
> debug1: Trying public key: /export/home/user/.ssh/id_rsa
> debug1: Authentications that can continue:
> gssapi-keyex,gssapi-with-mic,publickey,password,keyboard-interactive
> debug1: Trying private key: /export/home/user/.ssh/id_dsa
> debug1: Next authentication method: keyboard-interactive
>
> ...  anything I'm missing out ?
>
> Thanks,
> Sereno
>
>
>
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to