LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Accessing SSH remotely.

[ILUG] Accessing SSH remotely.

Niall O Broin niall at linux.ie
Sun Apr 22 22:28:27 IST 2007


On 22 Apr 2007, at 16:41, Darragh wrote:

>> I'm not entirely sure why but it was the AVG firewall in windows  
>> that was causing the network wide issue.

Given a network topology as in this diagram, which would be the usual  
way of connecting up a home router,

Internet
    |
    |
Router
    |
    +----------+------------------+---------------+
               |                  |               |
             Client 1          Client 2        Client 3

with port forwarding of port 22 to, say Client 2, there is no way  
that any software running on Client 1 or Client 3 can interfere with  
ssh connections to Client 2. Indeed, in a switched architecture,  
which is what you have in your tupical ADSL hpme router thingie,  
Client 1 or Client 3 don't even see packets destined for Client 2.

So, the only answer I can think of is that you don't have the  
topology above, and instead have something like this

Internet
    |
    |
Router
    |
    |   +-------+------------------+---------------+
    |   |       |                  |               |
   Windows    Client 1          Client 2        Client 3


where the router is connected directly to the Windows box (maybe via  
USB ?) and Client 1/2/3 are connected to the Windows box via Ethernet  
and are then accessing the internet via the Windows box using its  
internet connection sharing, because in that case all the packets for  
Client 1/2/3 go through the Windows box and will be affected by its  
firewall.

> Any idea about my x forwarding question? I want to access gnome  
> remotely.


ssh -X remote_ip  (or ssh -Y remote_ip for a secure connection) will  
get you a tunnelled X connection, so presuming you have a local X  
server, and aren't using putty or some such, you can start a X client  
on the remote machine which will display on your local server.  
However, you'll need to provide more details as to what you want to  
do. Gnome is a bit more than an X client, and getting a gnome desktop  
displaying remotely is possible in a number of ways (remote X, VNC,  
NX) and you need to decide which to use.




Niall




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell