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

Re: [cobalt-users] installing ssh on raq2



On Mon, 19 Jun 2000, Jack Martin wrote:

> I'm running one of the early raq2 servers.  I've installed ssh according to 
> Cobalt instructions (as specified in their Knowledge Base).  However, when 
> I try to start sshd with the command,
> /etc/rc.d/init.d/sshd start, (I did create the sshd file and set 
> permissions to execute), I get the message,
> "Starting sshd  sshd /etc/rc.d/init.d/sshd: sshd: Command not found"
> 
> Further, if I run the command,
> [root init.d]# /etc/rc.d/init.d/sshd status
> I get the message,
> sshd dead but subsys locked
> 
> Can some one please assist me with this problem.

My suggestion would be to run sshd as an inet service, which will offer
you more options for access control.

edit the file 
/etc/inetd.conf

add the following lines (anywhere):
#
# Secure shell
#
ssh     stream  tcp     nowait  root    /usr/sbin/sshd sshd -i
#

then restart inetd:
/etc/rc.d/init.d/inet restart


> PS  I used the following procedure to install:
> I moved the ssh-1.2.27.tar.gz to the server
> I untarred it
> tar -xzf ssh-1.2.27.tar.gz
> then, as 'ADMIN'
> ./configure
> make
> then, as 'SU'

no, not as 'SU'. as root. su is a command that means switch user. if you
do not give it a username, the default is root.

su admin = switch to user admin
su root = su = switch to user root

> make install
> (thought this might be noteworthy since the instructions said that the 
> entire process should be carried out as 'SU' or root).

as root