LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   SSH port...Connection....refused?? (https://www.linuxquestions.org/questions/mandriva-30/ssh-port-connection-refused-85866/)

Miyamoto 08-26-2003 10:14 AM

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

david_ross 08-26-2003 12:30 PM

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.

Miyamoto 08-26-2003 12:55 PM

Where do I check for the firewall settings?

Miyamoto 08-26-2003 12:56 PM

Under the Mdk CC?

david_ross 08-26-2003 02:54 PM

Try:
iptables -L

kundor 08-26-2003 03:07 PM

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.

Miyamoto 08-26-2003 04:03 PM

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.


All times are GMT -5. The time now is 09:58 AM.