iaccounts at northnetworks.ca
Fri Nov 28 23:09:51 PST 2003
> On Tue, Nov 25, 2003 at 06:38:07PM -0700, David Bear wrote:
> > running 4.7-RELEASE.. I'm trying to setup ssh pubkey auth and its not
> > working..
> > I put my pub key in ~/.ssh/authorized_keys from system A
> > On system B edited /etc/ssh/sshd_config with
> > ======================
> > PubkeyAuthentication yes
> > AuthorizedKeysFile .ssh/authorized_keys
> > PasswordAuthentication no
> > =====================
> > I chmod'd my .ssh dir as 700 on system A and B. Then restart sshd on
> > system B explicitly using -f /etc/ssh/sshd_config .
Ok, it sounds like you are putting the 'config' on the server side, not
the client. I hope I am assuming correctly. Here is a snip from my
'config' on my client side. Note that I have two entries. Depending
which network I am connected to, most of the time I can connect just
using the servers hostname, and other times, must type in the entire
domain name. Having an entry using each connection method (ip, hostname
or FQDN) is important:
Here's another site you can have a quick look at:
> > the ssh'ing into system B I'm still prompted for a password.
> > I'm lost. Any advice.
> There are 2 ways I know to do this and the following URL shows you haw
> to do both. BTW, if the remote server disallows passwordless logins it
> doesn't mater how hard you try.
> sure it's focused on linux but it'll work just the same on freeBSD
More information about the freebsd-questions