Re: P.S. - RE: updates pending question

Alfred Hovdestad <[email protected]>
Newsgroups gmane.linux.redhat.general
Organization University of Saskatchewan
Message-ID <[email protected]>
On 10/05/13 07:27 AM, Constance Morris wrote:
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Alfred Hovdestad
> Sent: Thursday, May 09, 2013 4:35 PM
> To: General Red Hat Linux discussion list
> Subject: Re: P.S. - RE: [redhat-list] updates pending question
>
>
>
> There are several things that you can try.  From the command line, enter:
>
> yum clean all
> yum update
>
> To see if any updates are still pending.  Next check the package that the sftp command belongs to:
>
> which sftp
> rpm -qf /usr/bin/sftp
> rpm -qf /usr/bin/ssh
>
> They should belong to the same package.
>
> --
> Alfred Hovdestad
> University of Saskatchewan
> ------------------------
>
> Hi Mr. Hovdestad,
>
> Yum update shows me there are no packages marked for update.
> Yes, the locations are the same for sftp and ssh, but not sshd.
> Not sure if that makes a difference with the sshd not being in a similar path location as the other two.
> But they all 3 are showing to belong to the same package.
>
> Constance
>

Hi Constance.

The ssh and sftp commands should belong to the same package, 
openssh-clients.  The sshd daemon belongs to the openssh-server package. 
  The versions should match (or at least be very close).

 From your other posts I think that your faculty accounts might be in a 
chroot environment.  There is an article in the Red Hat Knowledge Base 
that describes setting up an sftp-only environment for your faculty. 
You can check this by looking for

Match Group sftp

in /etc/ssh/sshd_config.  This would indicate that any account created 
with the default group sftp would be in the chroot environment.  If they 
are in a chroot environment that would require that their default shell 
and home directory be specified according to the chroot configuration 
(-s /bin/false, -d /username [relative to the chroot environment]).

--
Alfred

-- 
redhat-list mailing list
unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.