On Saturday 28 November 2009 20:25, John D. Mort wrote:
> I'm having a strange problem with SSH that I'm unable to figure out on
> my own.  I have a laptop, a desktop, and a server, all running Ubuntu.
>  The problem I'm having is with the laptop (I think)
>
> When I ssh to my server directly via it's IP I get:
> ssh: connect to host 192.168.1.103 port 22: Connection refused
>
> If I enter the same exact command on my desktop, I am able to connect
> to my server with no problem.
>
> If I open port 22 on my firewall, then ssh to john.mort.net (which
> goes to my server) I am able to connect to the server via SSH from my
> laptop.
>
> I've been checking /var/log/auth.log on the server and nothing is
> mentioned about rejecting connection attempts from the laptop.

If there isn't even a log of the denial, then the ssh daemon isn't the thing 
that's rejecting the connection.

> I'm perplexed, any guidance would be appreciated.

Perhaps this is somehow related to the specific MAC address in your laptop?  
[Firewalling by MAC, some kind of ARP problem, etc.]  Where you're able to 
SSH to the public IP with your laptop this still fits the symptoms assuming 
you're using a NAT firewall.

One way to test if this is the issue is to specify a different MAC address for 
the interface with a line in /etc/network/interfaces with something like:

    hwadress ether 00:01:02:03:04:05

And then doing a 'sudo /etc/init.d/networking restart'.

-- Chris

Chris Knadle
[email protected]
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
  Dec 2 - MythTV
  Jan 6 - Git

Reply via email to