Ubuntu Servers :: Ssh Is Running But Port 22 Not Open

Jul 10, 2010

I have two computers on a LAN. (This is history not a Bazaar question, although I have one of those too) One of them (Ubuntu 9.04) Im using as a Bazaar repository over sftp. Its been working fine for about a year. Then we had a thunderstorm that knocked out our Internet service for a couple of days. When it came back up everything is working fine accept I could no longer commit to the server. A little detective work showed that ssh was not running on the server. I started it and Bazaar then couldnt find the repository files. I still suspected an ssh problem, but port scans from both computers showed port 22 open on the server and I could do a ssh login from the client ok. Then I started fiddling with ssh on the server and now I have ssh problems on top of the Bazaar problems.

On the server I deleted then regenerated the ssh keys. Ive done
sudo /etc/init.d/ssh reload
sudo /etc/init.d/ssh start

I get a normal starting message and ps ef |grep ssh

shows /usr/sbin/sshd running. But the port scan does not show 22 open and I get connection refused at the client.

View 9 Replies


ADVERTISEMENT

Software :: Vps Running Every Minute That Checks To See Whether Or Not A Certain Port Is Open On Localhost?

Oct 30, 2010

I have a crontab on my vps running every minute that checks to see whether or not a certain port is open on localhost. If the port isn't open, it should run the php script to restart the program. However, I require the use of screen to be able to interact with the program whenever I reconnect to the vps through shell.The problem is, screen is being a pain by saying "Must be connected to a terminal."This is the php script:

Code:
#!/usr/bin/php -q
<?php

[code]....

View 5 Replies View Related

Servers :: Can I Open Port On Ubuntu 9

Oct 11, 2010

I can seem to open port 25565 for a java application (executable jar)
I'm running ubuntu server 9 thoroughly up to date code...

Yet connections to port 25565 fail when I have the firewall enabled (sudo ufw enable)
For example canyouseeme.org says "Error: I could not see your service on port (25565) Reason: Connection timed out"

And connections to port 25565 _DO WORK_ when I disable the firewall (sudo ufw disable)
canyouseeme.org says "Success: I can see your service on port (25565)"

View 4 Replies View Related

Ubuntu Servers :: Check If A Port Is Open For A Ip?

Sep 8, 2010

Is it possible to check if a particular port is open for a particular ip in the terminal?

View 4 Replies View Related

Ubuntu Servers :: Connection On Port 143 - Iptables Are Open?

Feb 2, 2010

I am configuring an internal only IMAP server for archival emails. I am absolutely baffled why my connection is being refused. UFW is disabled and IPTABLES has a rule to allow all connections on 143 and 993. When I telnet this response is given:

Code:
telnet localhost 143
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Even nmap shows the port closed. Here is my iptables rule:
HTML Code:
-A ufw-user-input -p udp -m udp --dport 143 -j ACCEPT

View 3 Replies View Related

Ubuntu Servers :: Running Apache And Etherpad Lite On Port 80?

Sep 1, 2011

I'm running both Apache on my site and Etherpad Lite, both on different domains. However, running them both on port 80 causes a conflict. I tried to use a reverse proxy in Apache (this is the configuration -- I'm not sure if I did it right), but it doesn't seem to do anything.

View 1 Replies View Related

Ubuntu Servers :: Xinetd 754/tcp Kerberos Propagation Port Can't Open?

Apr 6, 2010

I can't open 754/tcp por for kerberos propagation, the service is krb_prop.The file /etc/xinetd.conf:

Code:
defaults
{

[code]....

View 3 Replies View Related

Fedora Servers :: Open Port Check Tool?

Feb 25, 2009

I tried to see if my port was open but got a message saying Error: I could not see your service on 58.164.165.88 on port (80) Reason: Connection refused could someone us out here

View 2 Replies View Related

Networking :: How To Open A Port - Failed To Open The TCP Port Number In The License

Jun 20, 2009

I am running lmgrd on CentOS5, but it returns Failed to open the TCP port number in the license. The port is 27000, how can I open that port?

View 5 Replies View Related

Ubuntu Servers :: Port 21 Reported Open By Nmap And Netcat, But Blocked By Iptables?

Oct 11, 2010

Strange issue here when trying to verify firewall on Server 8.04. No ftp service running at all on server, but both nmap and netcat report port 21 as being open, even though it isn't.I am 100% sure that port 21 is not actually accessible and iptables rules are fine. Trying to connect to the port fails, yet nmap and netcat seem to report a "false positive"?Have also checked on a number of other servers I'm running, and this "false positive" seems to apply to all of them.

View 1 Replies View Related

Ubuntu Servers :: When Open Top And Look At The Running Processes - -5 In The Nice And 0 With Everything Else

Apr 1, 2010

When I open top and look at the running processes, there a bunch that are -5 in the nice and 0 with everything else.

[Code]....

View 4 Replies View Related

Server :: If Forward A Port In Iptables, Does The Port Have To Be Open On The Firewall

Aug 5, 2009

If I forward port 80 to port 3128 for squid with an iptable rule, does port 3128 have to be open on the firewall or is this all routed behind the firewall?

View 4 Replies View Related

Server :: Open SMTP Port On Router (which Connects LAN To Internet) Also Needs To Open?

Apr 14, 2010

I have sendmail running on my centOS 4.6. My lamp server also runs on it. I want to send mail through php mail function. when i execute php page, which fires the mail function, it takes so much long tim1 say even 1 minute, and at last displays that message sent successfully. Suppose, destination address is [URL].... I did not get any mail there. My server is running in LAN. I checked the status of sendmail, it shows me that it ios running. when i issue "nmap localhost" it shows me that SMTP port 25 is open, but when i issue "nmap myserver" (192.168.1.20 myserver ( written in hostfile)), it does not show that SMTP port is open.

I checked the /var/log/maillog, one person in my previous post advice me to see that. There it shows that message is accepted for delivery...but i do not get any mail in my destination, even not in spam folder. One more confusion is that, in my case my server is in LAN and if I am at all enable to open the SMTP port on it, does i need to open SMTP port on my router (which connects my LAN to internet) also needs to open? I think no, because SMTP is application layer protocol, it will wrap my mail in IP packet, which router just need to forward. am i right?

View 1 Replies View Related

CentOS 5 :: Open Port 7001 But It Doesn't Show That Its Open?

Sep 26, 2010

Ok For some reason I open my ports in security and firewall. I open ssh and other ports and port 7001 for example but when I go to check to see if they are open or try to connect to them. It shows that they are still closed. I am using - [URL] Also yes my ports are open on my router. I know my router works fine with opening ports because I have shoutcast setup on another computer with xp that is currently running. I am willing to pay for who can ever get this fixed for me...

I open the ports in graphical mode.

View 15 Replies View Related

Red Hat :: Running IPmonitor To Monitor The Disk Usage On Our Servers - Running Df -h

Mar 19, 2010

We are running IPmonitor to monitor the disk usage on our Linux servers. It does not seem to coincide with what is reported when running df -h. For example on a Red Hat 5.3 server - our IPmonitor shows that 85% is used on the /usr partition, however when I do a df -h on the server it shows that 91% is used. Why there would be a discrepancy? IPmonitor uses SNMP.

View 5 Replies View Related

Ubuntu Networking :: Cannot Open Port 80

May 23, 2010

I just installed apache. I didn't change the configuration files at all except add Quote: # added servername to avoid the could not determine fqdn error ServerName myname.homelinux.org to apache2.conf. Apache is working locally (I get the `it's working' screen at [URL]). However, I cannot access my computer from an external computer by going to [URL], which is equivalent to [URL] -- [IP address changed slightly for privacy] Here is a screenshot to my router settings. I disabled the filter for port 80 on the router. here shouldn't be a firewall, unless it's automatically installed with ubuntu 10.4. (sudo ufw status says `inactive'.)

I checked my ports from [URL] and indeed port 22 is open (ssh-ing into my computer externally is not a problem), whereas port 80 is closed. What step in opening up port 80 am I missing? (I also made sure my ISP isn't blocking port 80.)

View 5 Replies View Related

Ubuntu :: Cannot Open Port 5900

Sep 17, 2010

I am trying to access my desktop remotely via VNC. I can already access my computer using ssh, and I managed to open port 22 on my router:

Now I must open port 5900 for VNC, and I think I did exactly the same thing:

Using [url](a port check service), however, my port 22 is OPEN and my port 5900 is CLOSED. Yes, I restarted my router after making the changes.

View 3 Replies View Related

General :: Set Ubuntu To Open One Port?

Dec 12, 2009

I heard when running Ubuntu I need to set it to open with one port. I had a friend ran Ubuntu on his laptop at school and had other Ubuntu users at school got access to his computer, is that possible?

View 2 Replies View Related

Ubuntu Networking :: Open A Port For VirtualBox OSE?

Mar 13, 2010

needing to open a port in ubuntu, then use it for my VirtualBox Pc.My VirtualBox is running - Windows XP I have a router connected to my network - Linksys WRT54G Now lets begin, I have tried opening via there router homepage. But when I go to [URL] and test port 4900 is still says that it is closed.

View 3 Replies View Related

Ubuntu Security :: Tor Open Port 23 For Telnet

Apr 24, 2010

Tor open port 23 for telnet. Is this normal ?

View 3 Replies View Related

Ubuntu Networking :: Port Will Not Open Regardless Of Methods

Aug 18, 2010

No matter what I do, i cannot get port 3100 to open. This is for a new MMO i am CBT on. I know it works on windows because that is how I installed it and played. But I prefer being on Linux. Majority of all other MMOs work fine. Just this one has to have udp 3100 open.

The following is a rough output of all the methods I have tried with no success. As you can see I have done some extensive research first before posting here.

Now its become a lil bit of an obsession.

I cannot get the following command to work:

And yes I tried the "spaces" in different places thinking that was the prob. So i cannot see if 3100 is in the list or not

I eventually turned on the firewall "ufw enable" add the port there, and output:

Some references

[url]

Firewall stuff: [url]

I even manually went into the router and turned it on there.

I add these lines for startup purposes.

Do I need to do something in "wine" ?

I feel i am starting to repease myself

results of "iptables -L"

Code:

View 4 Replies View Related

Ubuntu Networking :: Open Port 22 In The Router?

Dec 16, 2010

I have an n900 phone and I'm trying to ssh to my desktop but I'm getting an error:

ssh: connect to host 58.xx.xx.xx port 22: Connection refused

I recently started using a router for I wanted to connect to net even with n900. I've tried to open the port from the setup page of the router however it doesn't seem to work. (find below the screenshot of setup page).

I've tried to ssh through slackware I've got as a virtual machine and I have the same problem although I was able to ssh through slackware before I started using the router.

View 1 Replies View Related

Ubuntu Security :: Iptables Port 25 Is Open

Feb 28, 2011

I've recently installed 10.10 server edition, and I must say it was a pleasant suprise, it's just the way I like it. I use it as a squeezebox-server. But I've run into a problem with the firewall. I did a portscan, which told me there are more ports open then I've told UFW to open. Among which port 25 and 119, when I telnet from another PC to those ports, the connection gets accepted, although there is no answer to any commands (as expected, there's no mail server running). Iptables print-outs also don't mention anything about the respective ports or a daemon that could be responsable, and the same applies to "ps -e" or "ps aux".

Iptables seems to be working, when I remove the rules to allow samba to work, I can't reach the shares, and when I insert them again I can reach the shares. "sudo ufw deny from any" as last rule doesn't change anything either (deny incoming is default (although I never issued the command "ufw status verbose" says it is) so it shouldn't, but ports 25 and 119 shouldn't be open either).

View 2 Replies View Related

General :: How To Open A Port

Jul 23, 2010

I hear that it's a bad idea to edit iptables by hand.

I want to open 443. Quote: iptables -A INPUT -p tcp -m tcp --sport 443 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT
Since I'm not at the box, I can't use the nifty GUI.

How might one do this via terminal?

OS: CentOSv5 (RHELv5)

View 5 Replies View Related

General :: How To Open Port?

Apr 28, 2011

i have centos5.3 installed with iptables firewall, i want to open port 5222 as i want to access application which uses port 5222 from internet.

View 14 Replies View Related

General :: Open Certain Port With Vnc

Jun 10, 2010

from my windows box at work i can only connect to some ports (pop3, telnet, web)also, i can connect to port 1234 (as an example)everything else is blocked.I'm trying to connect with Microsoft Terminal Service Client to my linux box (cant install any vnc)but haven't found a way to make Gnome remote desktop to listen to the port i need (1234).I'm using fedora 13.anyway, i would appreciate any advice on what software to use or hot to configure my Linux box get remote connections from windows box on that certain port.

View 5 Replies View Related

CentOS 5 :: How To Open Port 587

Sep 2, 2009

On our server port 25 is open for sending email. I want to open port 587 too in our firewall.If I have open tow ports 25 and 587 for out going email it is not going to make any problem? my server is Centos 5 I am using webmin to access to our server.

View 1 Replies View Related

Ubuntu Security :: Viability Of Running SSH On Default Port Using Key Auth?

Mar 8, 2010

I don't think it would be harmful to run ssh on the default port of 22. Especially since the machine will only accept key-based logins and only accept traffic on port 22 from external IP addresses that I specify.

View 8 Replies View Related

Ubuntu :: Open The COM1 Port To Do Serial Communication Via PHP?

Mar 15, 2010

Not really sure where to post this, so here goes... I installed apache2, php and MySQL via LAMP and everything seems to work fine but when I try to open the COM1 port to do serial communication via PHP, I get a permission denied error.

'mode com1: BAUD=9600 PARITY=N data=8 stop=1 xon=off';
$fp=fopen("COM1:","w+");

I've also tried using /dev/ttyS0 instead of COM1: but no luck. Anyone out there know what I'm doing wrong? I don't know if I need to set something up in apache2 or php or if the code is just wrong. I'm on an Acer Aspire One with Ubuntu's LNR 9.10.

View 6 Replies View Related

Ubuntu :: Open Port For Transmission Or Deluge To Use Torrents?

Apr 2, 2010

How to open port for transmission or deluge to use torrents, 'cause any of both programs can download any torrent. I've searched on the internet and only find about open ports on hardware router, and that's weird 'cause Deluge on windows works perfect just after installing it and there's no need to open any port on hardware router.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved