Find the answer to your Linux question:
Results 1 to 8 of 8
Hi, Networking? Im trying to connect to my other desktop (linuxmint) from this desktop(ubuntu 10). the linuxmint desktop has an eth0 connection and ubuntu has eth1. Could that be the ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    13

    how do I connect to other computer

    Hi,
    Networking? Im trying to connect to my other desktop (linuxmint) from this desktop(ubuntu 10).
    the linuxmint desktop has an eth0 connection and ubuntu has eth1.
    Could that be the problem? if so how do I fix? thanks.... Rich

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    You need to tell us a little more about how the two
    computers are connected, whether you have internet
    connectivity and so on.

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    13
    ok both desktops are wired thru my router. I do have Internet connection. i can not connect thru ssh(refuse). tried to adjust firewall to allow everything.. Im at a loss.......

  4. #4
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    Make sure the ssh daemon is running, turn off any firewall,
    and make no entries in /etc/hosts.allow or
    /etc/hosts.deny

    Go to the other computer and issue the command
    ssh username@hostname where username is the
    username on the server, and hostname is the server hostname.
    Does it now ask for a password, or something like "do you want
    to connect...blah blah", or does it just refuse before it gets that far?

    BTW, if you haven't added the hostname and IP address
    to the client's /etc/hosts file, you will need to use
    the IP address instead of the hostname.

  5. #5
    Just Joined!
    Join Date
    Jan 2008
    Posts
    13
    both computers are in /etc/hosts username@hostsname. using ssh I get a 'timed out' message.

    I have a ip address that changes dynamically by my router ever so often.

  6. #6
    Linux User
    Join Date
    Jan 2005
    Location
    Saint Paul, MN
    Posts
    262
    Quote Originally Posted by kaykav View Post
    both computers are in /etc/hosts username@hostsname. using ssh I get a 'timed out' message.

    I have a ip address that changes dynamically by my router ever so often.
    The format of the "/etc/hosts" file is:
    Code:
    ipdaddress qualified_hostname aliashostname1 ... aliashostnameN
    Do you have the ssh daemon (or service if you are a Microsoft person or a RHEL only user) running on both machines. Normally (as root) you can check status with:
    Code:
    /etc/init.d/sshd status
    To start:
    Code:
    /etc/init.d/sshd start
    To stop:
    Code:
    /etc/init.d/sshd stop
    Your connection is made as:
    Code:
    ssh -XY remoteusername@remotehostname

  7. #7
    Just Joined!
    Join Date
    Dec 2007
    Location
    Alabama, USA
    Posts
    26
    There is an easy way to do it if you know the ip address of the computer. ifconfig at command line will tell you that. Suppose the ip address is the below entry!
    From command line
    (1) ssh 192.168.5.100
    (2) It will ask you to confirm the host, the answer is 'yes'
    (3) next enter the password for the host
    (4) It will come up with hostname@dell:~$

    Just do your thing

  8. #8
    Just Joined!
    Join Date
    Jan 2008
    Posts
    13

    how do I connect to other computer

    HI,
    OK I have it now.Just turning ssh on. Thank you..Rich

Posting Permissions

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