Newsgroups: comp.security.ssh
From: mikh...@panix.com (Mikhail Kuperblum)
Date: 1999/02/10
Subject: Re: ssh2 identification file
As per Shane Ramey (sh...@broadlink.com):
> I've read the man pages many times over, but I cannot find out how to use authorization file (on remote system) has the following format: > the identification and authorization files in ssh2 like the > authorized_keys file in ssh1. I need to automate logging into a host, > without prompting for a password. This is what I've tried right now: > Local ~/.ssh2/identification: > IdKey id_dsa_1024_a > Remote ~/.ssh2/authorization: > Key id_dsa_1024.pub > Obviously this is wrong, but this is what I got from the man pages. Would Key luser1.pub Keep in mind that names (luser1.pub, etc.) are purely arbitrary. You can use Lets consider an example. Say you have local user luser1 who wants to use 1) Run ssh-keygen2 (as luser1 on local, as ruser1 on remote). IdKey id_dsa_1024_a 3) Create ~/.ssh2/authorization on remote with following line: Key luser1.pub 4) Create ~/.ssh2/luser1.pub in home directory of ruser1 (remote user) 5) On local, copy /etc/ssh2/ssh2_config to ~/.ssh2 of luser1 and 6) Start sshd2 on remote. On local do "ssh2 -l ruser1 Remote_System_Name". Now, if another local user (luser2) wants to use ssh2 to log into remote Key luser1.pub Plus, there should be ~/.ssh2/luser2.pub file on remote. That is about it. -mk You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||