LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2004, 05:39 AM   #1
Bjorkli
Member
 
Registered: Jul 2003
Location: Norway
Posts: 65

Rep: Reputation: 15
Question SSH help for a very newbie in Linux




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...

BB
 
Old 02-17-2004, 10:34 AM   #2
cexshun
Member
 
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Newbie Needs Help Installing/Configuring SSH xtremcoder Linux - Networking 4 10-02-2004 10:22 AM
SSH Newbie...again! mdktechie Linux - Security 2 10-07-2003 09:38 PM
SSH Newbie mdktechie Linux - Security 5 10-03-2003 07:37 PM
Newbie and SSH Security KnightAzul Linux - Security 3 09-11-2003 07:37 PM
Newbie on ssh, please recommend HOW-TO vous Linux - Networking 1 07-26-2003 06:03 AM


All times are GMT -5. The time now is 08:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration