LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot connect to server to open Port 22 (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-connect-to-server-to-open-port-22-a-894365/)

DAMarisa 07-28-2011 03:56 PM

Cannot connect to server to open Port 22
 
Hello. I am trying to connect to my linux server using an SCP Key (PPK), but I can't get through using Putty, WinSCP, etc. I think Port 22 might not be open, but I don't know how to open it if I can't at least access the server using SSH.

Any thoughts?

Thanks!

TB0ne 07-28-2011 04:00 PM

Quote:

Originally Posted by DAMarisa (Post 4427958)
Hello. I am trying to connect to my linux server using an SCP Key (PPK), but I can't get through using Putty, WinSCP, etc. I think Port 22 might not be open, but I don't know how to open it if I can't at least access the server using SSH.
Any thoughts?
Thanks!

No, there's nothing you can do to get it opened over the network, unless you connect to it using a different service. What version/distro of Linux are you using? What services are running on the box now? Easiest way is to go to the server and make sure that SSH is running, and that the port isn't blocked via firewall/iptables.

DAMarisa 07-28-2011 04:07 PM

Hi TB0ne,

Thanks for the quick reply! What other service could I use to connect?

It's a really old server and I'm trying to figure out what's on it, so I don't know about the version or services on it (I also didn't build it).

Thanks!

chrism01 07-28-2011 06:00 PM

If you have physical access, try the console; if remote, try telnet ...

If you do get in, try these cmds to get build name/ver

Code:

cat /etc/*release*

uname -a



All times are GMT -5. The time now is 11:20 PM.