LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-26-2003, 10:14 AM   #1
Miyamoto
Member
 
Registered: Jun 2003
Distribution: Mandrake Linux 9.1 Bamboo
Posts: 51

Rep: Reputation: 15
SSH port...Connection....refused??


Hi all. I'm running a server that runs Mandrake 9.1. I'd like to ssh into it but I don't know what port it's running on. Each time I try and ssh into it from my OS X machine here it says:

[Someone's Computer:~]gasparhe%sh gasparhe@64.252.203.224
ssh: connect to address 64.252.203.224 port 22: Connection refused

Oh and the IP is correct. I bet if I used the DNS I have assigned to it it will still not work.

What port is it running on? Would I maybe have to either activate or install SSH onto my server? Please help me with this. I'm running a filesharing server called Open DC Hub and I want to be able to administer it and its scripts remotely so I won't risk messing up its performance.

Thanks...
 
Old 08-26-2003, 12:30 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
ssh runs on port 22 which is what yuo connected to. The chances are there is a firewall rule in place. Try temporarily disabling your firewall then try again.
 
Old 08-26-2003, 12:55 PM   #3
Miyamoto
Member
 
Registered: Jun 2003
Distribution: Mandrake Linux 9.1 Bamboo
Posts: 51

Original Poster
Rep: Reputation: 15
Where do I check for the firewall settings?
 
Old 08-26-2003, 12:56 PM   #4
Miyamoto
Member
 
Registered: Jun 2003
Distribution: Mandrake Linux 9.1 Bamboo
Posts: 51

Original Poster
Rep: Reputation: 15
Under the Mdk CC?
 
Old 08-26-2003, 02:54 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try:
iptables -L
 
Old 08-26-2003, 03:07 PM   #6
kundor
Member
 
Registered: Aug 2003
Distribution: GoboLinux
Posts: 167

Rep: Reputation: 30
Re: SSH port...Connection....refused??

Quote:
Originally posted by Miyamoto
Would I maybe have to either activate or install SSH onto my server?.
If you don't have a SSH server installed, you need to install one.
For example, as root, "urpmi openssh-server" should work.
 
Old 08-26-2003, 04:03 PM   #7
Miyamoto
Member
 
Registered: Jun 2003
Distribution: Mandrake Linux 9.1 Bamboo
Posts: 51

Original Poster
Rep: Reputation: 15
OK well I installed SSH and I STILL can't log into my server from my OS X machine... I guess I can try the iptables thing... Thanks guys.
 
  


Reply



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
SSH - Connection Refused eminence Linux - Networking 15 02-11-2020 09:48 AM
SSH Connection Refused? lowpro2k3 Linux - Networking 2 11-04-2009 11:02 AM
ssh secure connection refused lugoteehalt Linux - Networking 2 03-19-2004 10:33 AM
ssh connection refused rguptatx Red Hat 4 11-13-2003 06:18 PM
port 22: connection refused lkalman Linux - Networking 13 06-17-2003 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:41 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
Open Source Consulting | Domain Registration