LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH & Mandrake (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-and-mandrake-62409/)

w00t 05-28-2003 11:08 PM

SSH & Mandrake
 
How do you set the SSH up on Mandrake 9.1 ?


*total n00b*

Crashed_Again 05-29-2003 12:12 AM

As root:

/etc/init.d/sshd start

w00t 05-29-2003 12:41 AM

Crashed_Again Thanks :)

w00t 05-29-2003 01:32 PM

Didnt work :(

[root@localhost user]# /etc/init.d/sshd start
bash: /etc/init.d/sshd: No such file or directory
[root@localhost user]# cd /etc/init.d/
[root@localhost init.d]# sshd
bash: sshd: command not found
[root@localhost init.d]# sshd start
bash: sshd: command not found
[root@localhost init.d]# start
bash: start: command not found
[root@localhost init.d]#

PhilD 05-29-2003 01:45 PM

If you are in X, check for the following:

/etc/rc.d/rc5.d/S??sshd

The ?? would be some number. You can use 'tab' after the S or just do a ls listing in the directory. Mandy uses scripts in this directory to start and stop many on it's daemons. I am not on my system at the moment so I am not positive there is a sshd listing in here, but check and see.

If it is then do:

/etc/rc.d/rc5.d/S??sshd start

Hope this helps,

PhilD

w00t 05-29-2003 01:56 PM

No still not working :(

Crashed_Again 05-29-2003 02:04 PM

Are you sure you have openssh installed?

rpm -qa | grep openssh

w00t 05-29-2003 02:17 PM

Not sure lol this is what i got from the command u posted.

[user@localhost user]$ rpm -qa | grep openssh
openssh-clients-3.5p1-7mdk
openssh-3.5p1-7mdk
[user@localhost user]$

Crashed_Again 05-29-2003 02:19 PM

Yeah you only have the client installed. You need this package:

openssh-server-3.5p1-7

It should be on your mandrake cds or you can download from somewhere.

w00t 05-29-2003 02:23 PM

Ok well if i have it how do i make it install ?
:)

Crashed_Again 05-29-2003 02:26 PM

http://www.linuxquestions.org/questi...threadid=45094

w00t 05-29-2003 02:29 PM

Thanks :D

w00t 05-29-2003 02:33 PM

Im letting the search program try and find it but if its not om my system are there any sites that would have it ?

Crashed_Again 05-29-2003 02:37 PM

http://www.google.com is your friend! Also if you ever need an rpm try rpmfind.net .

w00t 05-29-2003 02:41 PM

I just found it, downloaded and ran the rpm and it said everything was already installed.

http://rpms.mandrakeclub.com/rpms/ma...4mdk.i586.html


All times are GMT -5. The time now is 10:50 AM.