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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-19-2003, 10:44 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 4
Rep:
|
SSH Question...
Hello all...
I have RedHat 9.0 installed and SSH is installed as a part of this and appears to be running... is there some changes that need to be made to the config files before I can SSH using Putty into my Linux machine...
Everytime I try this, I get a "connection refused"... basically, do I need to make changes to the setup to have this work, or should it work without any tweaking... I am running a Linksys Router and I'm not sure if that is causing me problems... I have the port forwarding turned on...
If you tell me that it should work without any configuration, then I will remove my router from the picture and try this again!
Any and all help would be appreciated!
Thanks,
Phil
|
|
|
07-19-2003, 10:51 AM
|
#2
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
it should work without any configuration
It is possible that your router may be blocking port 22 (the SSH port).
if you want to verify the status of SSHd, type service sshd status at the command line.
|
|
|
07-19-2003, 02:15 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Posts: 4
Original Poster
Rep:
|
Ok... it's running... so, do you have to configure SSH in order for me to connect... or should/would you be able to connect "out of the box" as they would say?
Thanks...
Phil
|
|
|
07-19-2003, 02:22 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Check your firewall isn't blocking port 22:
iptables -L
post the output if you aren't sure.
|
|
|
07-20-2003, 04:29 PM
|
#5
|
Member
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553
Rep:
|
Hello,
Look in your /etc/hosts.deny and /etc/hosts.allow and see of you allow incoming ssh requests. If /etc/hosts.deny says
ALL:ALL
then /etc/hosts.allow should at least contain
sshd:<ip to let in>
/Stefan
Last edited by Bebo; 07-20-2003 at 04:30 PM.
|
|
|
All times are GMT -5. The time now is 03:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|