Results 1 to 4 of 4

Thread: X over ssh from behind a firewall

  1. #1
    Senior Member
    Join Date
    May 2001
    Posts
    472

    X over ssh from behind a firewall

    OK, so I just got DSL at home, and my machine is the one connected to it. My firewall is blocking everything except ssh.

    At work, I'm behind a firewall as well. I can ssh to my home machine, but if I try

    ssh -X user@homebox xterm

    It can't connect to my local display. I've done xhost + to keep that from blocking stuff, but I still can't get anything from home to appear locally.

    Any ideas?

  2. #2

    Re:X over ssh from behind a firewall

    Ok these are some dumb questions but they are the basics of the whole X-forwarding thing.

    1) Are you running an X-server on your machine at work, or are you running linux with X?

    2) With a client like PuTTY there is an explicit option to check for X11 forwarding. See if your ssh client has something like that.

  3. #3
    Senior Member
    Join Date
    May 2001
    Posts
    472

    Re:X over ssh from behind a firewall

    Slackware 8.1 at home, Slackware 9.0 at work...

  4. #4

    Re:X over ssh from behind a firewall

    check the sshd.conf and ssh.conf maybe X forwarding is disabled there. (sshd on the server, ssh on the client)

    also maybe just try ssh -X foo@bar.com and then start the xterm rather than starting it from the command line

Similar Threads

  1. Viruses, Worms, Trojan Horses
    By CoolJsa14 in forum Windows - General Topics
    Replies: 9
    Last Post: 11-01-2009, 07:08 AM
  2. Running cusom firewall script -iptables -RHEL 4
    By sud.tech in forum Programming
    Replies: 0
    Last Post: 06-12-2008, 01:09 PM
  3. Firewall script in RHEL 4
    By sud.tech in forum Programming
    Replies: 8
    Last Post: 06-12-2008, 01:07 PM
  4. Firewall Security Tutorial
    By Waka-Gashira in forum Windows - General Topics
    Replies: 6
    Last Post: 07-02-2007, 09:15 AM
  5. FC4 firewall can't ping internal IPs
    By ghalbedel in forum Security
    Replies: 3
    Last Post: 05-06-2006, 01:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •