LinuxQuestions.org
Register a domain and help support LQ
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 07-28-2011, 04:56 PM   #1
DAMarisa
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Unhappy 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!
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-28-2011, 05:00 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by DAMarisa View Post
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.
 
2 members found this post helpful.
Old 07-28-2011, 05:07 PM   #3
DAMarisa
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
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!
 
Old 07-28-2011, 07:00 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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
 
1 members found this post helpful.
  


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
Can not connect to a certain port on a server SushilC Linux - Server 1 10-05-2009 11:33 AM
how to connect to a open port surya_prakash Linux - Software 3 05-08-2009 07:02 PM
Can connect to server but not port ShaqDiesel AIX 2 12-20-2008 10:38 PM
Using Serial Port to connect to server deathazre Linux - Networking 4 07-16-2006 11:15 PM
How to connect server with muliple port via socket husniteja Programming 0 08-21-2004 03:25 AM


All times are GMT -5. The time now is 04:37 AM.

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