Re: Upgrading openssh

2004-06-20 Thread Alex de Kruijff
On Thu, Jun 17, 2004 at 04:52:24PM -0500, Eric Crist wrote:
> On Thursday 17 June 2004 10:41, Nagilum wrote:
> > Hi Eric,
> >
> > The base version of openssh is updated frequently (especially if any
> > vulnerabilities are discovered), so why bother with the port?
> >
> > Kind regards,
> > Alex.
> >
> > Eric Crist wrote:
> > >After figuring out perl (with the help of Matthew, I was wondering what
> > > the proper way to install/upgrade openssh.  I assume it's to install from
> > > ports, and somehow disable the installed, system version.
> > >
> > >What's the proper method?
> 
> Someone pointed out I was using an outdated version.  I just did a complete 
> system upgrade the other day, so I assumed ports was the only way to go (I 
> mean, look at the perl installation...)

You could also update /usr/src/ and do a make world. You won't get the
most recent version but one that will do nicly and you don't have to
wurry about how to go about.

An outdated version isn't bad per say. For stability a outdated version
is usaly better. For security a recent version is better. All that
matter is that there are no security risk. And as stated by Nagilum,
when there's a security risk then its alway updated and else it may take
some time.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Upgrading openssh

2004-06-17 Thread Eric Crist
On Thursday 17 June 2004 10:41, Nagilum wrote:
> Hi Eric,
>
> The base version of openssh is updated frequently (especially if any
> vulnerabilities are discovered), so why bother with the port?
>
> Kind regards,
> Alex.
>
> Eric Crist wrote:
> >After figuring out perl (with the help of Matthew, I was wondering what
> > the proper way to install/upgrade openssh.  I assume it's to install from
> > ports, and somehow disable the installed, system version.
> >
> >What's the proper method?

Someone pointed out I was using an outdated version.  I just did a complete 
system upgrade the other day, so I assumed ports was the only way to go (I 
mean, look at the perl installation...)


-- 
Eric F Crist

Keep your pecker hard and your powder dry, and the world WILL turn.


pgpzfwXj3a8Tn.pgp
Description: signature


Re: Upgrading openssh

2004-06-17 Thread Nagilum
Hi Eric,
The base version of openssh is updated frequently (especially if any 
vulnerabilities are discovered), so why bother with the port?

Kind regards,
Alex.
Eric Crist wrote:
After figuring out perl (with the help of Matthew, I was wondering what the 
proper way to install/upgrade openssh.  I assume it's to install from ports, 
and somehow disable the installed, system version.

What's the proper method?
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Upgrading openssh

2004-06-16 Thread Eric Crist
After figuring out perl (with the help of Matthew, I was wondering what the 
proper way to install/upgrade openssh.  I assume it's to install from ports, 
and somehow disable the installed, system version.

What's the proper method?

-- 
Eric F Crist

Keep your pecker hard and your powder dry, and the world WILL turn.


pgpHmCQNZMu77.pgp
Description: signature


Re: Upgrading OpenSSH ...

2003-09-18 Thread Simon Barner
Hi,

> II am trying to upgrade OpenSSH whihc is default in freeBSD .
> I am trying it using /usr/ports/security/openssh
> 
> all the installation went good way .
> I rebooted my system to the frsh installation of SSH to come into action ,But when i 
> gave 
> #ssh -V   
> it showed me the same old version 
> 
> Any solution about how to go about the upgradation  will be appreciated .

I think you were using the base system's ssh installation before (which
is located in /usr ). When you installed the OpenSSH port, you got a second
installation in /usr/local.

Please use `which ssh' and `which sshd' in order to confirm this
assumption. If it is true, then you have the following options:

1. Switch to the ports ssh -> since you already installed the port, you
only need to remove your ssh stuff in /usr, e.g. /usr/bin/ssh,
/usr/sbin/sshd, (kill the sshd before deleting it, but this will only
work if you are not currently logged in via ssh :-)...

Additionally, you have to tell the system to use the sshd in /usr/local,
so you should add the following line to /etc/rc.conf

sshd_program="/usr/local/sbin/sshd"

In order to preserve your settings from the base system, you should
carefully merge the configuration files in /usr/local/etc/ssh with your old
ones in /etc/ssh.

You should also put NO_OPENSSH=true into /etc/make.conf in order to
exclude OpenSSH from the following buildworlds.

2. Patch your base system's ssh as described here:

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-03:12.openssh.asc

You should also delete the port in order to prevent future confusion

3. Delete the ssh port, and re-install it with PREFIX=/usr. This will
overwrite your base system's ssh, but I don't know whether this solution
is supported, and I don't think that it is the cleanest one...

NO_OPENSSH=true in make.conf is of course also required.

I'd recommend to employ either option 1 or 2.

Regards,
 Simon


signature.asc
Description: Digital signature


Upgrading OpenSSH ...

2003-09-18 Thread Shrikant
Hi ,

II am trying to upgrade OpenSSH whihc is default in freeBSD .
I am trying it using /usr/ports/security/openssh

all the installation went good way .
I rebooted my system to the frsh installation of SSH to come into action ,But when i 
gave 
#ssh -V   
it showed me the same old version 

Any solution about how to go about the upgradation  will be appreciated .


Shrikant


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"