[TriLUG] ssh questions

Tanner Lovelace lovelace at wayfarer.org
Thu Jan 9 14:51:06 EST 2003


On Thu, 2003-01-09 at 02:41, Mike M wrote:
> I removed the contents of ~/.ssh2 in my client account and found that could 
> login in to a remote machine with just the account password.
> 
> Is this password authentication instead of public key authentication?  Do I 
> change /etc/ssh2/sshd2_config on the ssh2 server to force public key 
> authentication only?

Yes, it's password authentication.  You can disallow that in the
server config (at least on OpenSSH, don't know about "official" ssh).
The OpenSSH config file is /etc/ssh/sshd_config.

> I tried to bring my SSH2 generated private key (id_dsa_1024_a) to an OpenSSH 
> client.  I put the contents into ~/.ssh/id_dsa.  When I tried to login to a 
> remote account I was repeatedly prompted for the passphrase for key in 
> ~/.ssh/id_dsa.  Am I trying to do a bogus operation?

id_dsa is normally your private key.  The corresponding public key
is id_dsa.pub and that's what I generally put on the remote server,
while id_dsa stays on the client.  It won't work, afaik, without
both.

Cheers,
Tanner
-- 
Tanner Lovelace | lovelace(at)wayfarer.org | http://wtl.wayfarer.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = A66C 8660 924F 5F8C 71DA  BDD0 CE09 4F8E DE76 39D4
GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
   He who receives an idea from me, receives instruction himself 
   without lessening mine; as he who lights his taper at mine, 
   receives light without darkening me.  --  Thomas Jefferson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030109/313b30cf/attachment.pgp>


More information about the TriLUG mailing list