LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Ssh (https://www.linuxquestions.org/questions/linux-software-2/ssh-137317/)

doralsoral 01-21-2004 09:43 PM

Ssh
 
ok i had SSH working before but then i had to reformat my server and now i cant log on to it. i didnt do anything to set it up befor 4eit just worked. can anyone tell me how to set it up properly?im logging in from a slackware machine to a redhat server

israel 01-21-2004 11:36 PM

I belive u have to have to turn on the service, the same happened to me when i reinstalled redhat 9.

The way you turn it on is on your main menu
System settings -> Service settings -> Services. Once u are in there make sure u check the check box "sshd" and then click on start and save the changes.

U need root access to do this.

Hope this helps

tk31337 01-22-2004 04:18 AM

If it's simply a matter of the service being disabled, in the console you can simply do "/etc/init.d/sshd start", of course that won't enable it upon boot, for which the prior poster had graphical instructions. To this on the console as well, do "chkconfig sshd on". For more information, refer to "man chkconfig"

andrewlkho 01-22-2004 06:55 AM

Check if the service is running, by portscanning the server:
# nmap <server>
If it's running and you *still* can't log in, then it'll be your server setup - check things like who's allowed to login [eg root shouldn't be allowed to login by default on some packages].


All times are GMT -5. The time now is 07:15 AM.