2 SSH questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At 02:29 PM 1/10/2006, =?ISO-8859-2?Q?Maciej_=AFenczykowski?= wrote:
>the server file /home/username/.ssh/authorized_keys
>must contain a line containing /home/username/.ssh/id_dsa.pub (use 
>ssh-keygen -t dsa to generate it)

hmmm.

First the directory on my system is /home/<user>/.ssh2

There I have two files:

authorization
<user>.pub

and authorization contains one line:

key <user>.pub

>Furthermore /etc/ssh/sshd_config must not have
>PubkeyAuthentication no (yes is the default) [if you delete it 
>remember to /etc/init.d/sshd restart]

I saw a line of
#PubkeyAuthentication yes

which I uncommented and restarted.  No difference, so I suspect you 
are right about yes being the default...

ah, I just found the following:

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

:)

and what do I do with the section that says:

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

thanks



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux