[NBLUG/talk] OpenSSH2 with public key (no password)
E Frank Ball
frankb at efball.com
Fri Jul 11 11:46:01 PDT 2003
On Fri, Jul 11, 2003 at 02:30:34PM -0400, Bob Blick wrote:
}
} Did it, still no luck. Private key resides in client machine as
} ~/.ssh/id_dsa correct?
"client"? Which one is that?
The remote machine you are logging into gets the id_dsa.pub and/or
id_rsa.pub public keys added to the .ssh/authorized_keys file
The local machine you are working on keeps the id_dsa and id_rsa private
keys. The keys are generated on this local machine.
} The sshd_config file would be the one on the client(the machine I create
} the key pair with), correct? And is it the line "PermitEmptyPasswords"? It
} was set to no, I changed it and tried a "kill -HUP 312"(pid of sshd) and
} no difference.
No I would not enable the use of empty passwords. Thats using empty
passwords with no key pairs. It looks like empty passphrases in key
pairs are always ok, I don't see a sshd_config entry for it.
/etc/init.d/ssh restart (debian) or
/etc/init.d/sshd restart (redhat) is easier than the kill stuff.
On the local machine /etc/ssh/ssh_config is the relevant file.
On the remote machine /etc/ssh/sshd_config is the relevant file.
--
E Frank Ball frankb at efball.com
More information about the talk
mailing list