LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH help for a very newbie in Linux (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-help-for-a-very-newbie-in-linux-147082/)

Bjorkli 02-17-2004 04:39 AM

SSH help for a very newbie in Linux
 
:newbie:

Hi. I have just managed to install Oracle 9i on Fedora Core 1, and is happy all is working. I even got telnet up and working, and managed to connect from a remote computer. My ftp server won't install, but that is another problem. But then I read that SSH had outdated telnet (and ftp). Thats fine, since SSHD (the ssh server) was allready installed and running on my Fedora, so I tried the windows version PuTTY from startputty.com When I logged into with root it worked fine, and when I logged into the user name I created when installing Fedora, it worked fine. But when I try to log into using the oracle username, it simply disconnects ("Connection closed by remote host"). Can it be something in the .bash_profile file of the oracle user that is stopping it from working? Or was maybe root and the installation user name put into some ssh configuration file under installation? The oracle user worked fine in telnet, and I got sqlplus to work there too.

I did a search on SSH on this forum, and found 433 results. I read through around 100 of these, browsed through chapter 15 of RedHat 9 Customization Guide, and did man sshd and man sshd_config without getting any smarter. In the sshd_config file (which I haven't touch since install) it is only 3 lines that is active. "SyslogFacility AUTHPRIV", "X11Forwarding yes" and "Subsystem sftp /usr/libexec/openssh/sftp-server".

Now I am lost. Why does the connection get closed by my Fedora host? Any help appriciated... :Pengy:

BB

cexshun 02-17-2004 09:34 AM

Tell sshd to allow the oracle users. In sshd_config, add the following line:

AllowUsers username1 username2

So, it would look like
AllowUsers sam jane billy oracle1 soj4

etc etc etc.

Also, for newbs trying to run server stuff, I highly recommend looking into using webmin. It allows you to setup stuff with an easy UI over http.


All times are GMT -5. The time now is 11:16 AM.