[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another SSH Problem
--- Peter Verhagen <pverhagen@sapl.ab.ca> wrote:
> > I am running openbsd 2.9 on i386. I installed
> OpenSSH
> > 3.4 by adding the user using vipw and added the
> the
> > group to /etc/group. I then followed the
> instructions
> > to the letter for installation including #mkdir
> > /var/empty. All compiling went well. When I tried
> to
> > start the new sshd it gave me the error message
> along
> > the lines of "there is no /etc/ssh/sshd_config". I
> am
> > running from openbsd 2.9 which uses
> /etc/sshd_config
> > so why is it looking for /etc/ssh/sshd_config?
> > I tried copying the files to my new /etc/ssh
> directory
> > and sshd started fine. I then tried to shell in
> but I
> > only get "permission denied, please try again"
> after
> > typing in my password. It is like it doesn't
> > recongnize my username or my password (or both?)
> >
>
> Yeahp. Please follow the upgrade mini-faq, paying
> perticular
> attention to the ssh entries:
>
>
> [I think you've already followed this one]
> 3.1.1: New users/groups: sshd and authpf
>
> Several new users/groups have been added. In support
> of authpf(8), a
> new group is required. Also, to support sshd(8)'s
> privilege
> separation feature, a new user and group named sshd
> have been added
> to the system. Add the following user entry using
> vipw(8):
>
> sshd:*:27:27::0:0:sshd
> privsep:/var/empty:/sbin/nologin
>
> Add the following to /etc/group:
>
> sshd:*:27:
> authpf:*:72:
>
>
>
> And also:
>
> 3.0.4: ssh config files moved to /etc/ssh/
>
> You need to create /etc/ssh/ first, see section 1.13
>
> Recompile your system:
>
> # cd /usr/src
> # make build
>
> Move your /etc/ssh*_* files into the newly created
> /etc/ssh/ directory:
>
> # cd /etc
> # mv ssh*_* ssh/
>
> You will need to change your rc scripts to reflect
> these changes as
> well.
>
> Update any HostKey lines in your sshd_config to
> reflect the new
> location. For example:
>
> HostKey /etc/ssh_host_key
>
> should be changed to:
>
> HostKey /etc/ssh/ssh_host_key
>
> After this, you can restart the sshd daemon.
>
>
> Hope this helps,
> Peter Verhagen
> Systems Administrator
> St. Albert Public Library
>
I did the make build, moved all my files to /etc/ssh/
(modified them to reflect the new location) and the
daemon loads fine, but I still get a "failed password"
error as stated in /var/log/authlog
I did apply the patch AS stated from the website, what
else could I be doing wrong. I don't think I am doing
anything not normal otherwise.
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com