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 ...
- 11-26-2010 #1Just 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
- 11-26-2010 #2
You need to tell us a little more about how the two
computers are connected, whether you have internet
connectivity and so on.
- 11-26-2010 #3Just 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.......
- 11-26-2010 #4
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.
- 11-26-2010 #5Just 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.
- 11-26-2010 #6Linux User
- Join Date
- Jan 2005
- Location
- Saint Paul, MN
- Posts
- 262
The format of the "/etc/hosts" file is:
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:ipdaddress qualified_hostname aliashostname1 ... aliashostnameN
To start:Code:/etc/init.d/sshd status
To stop:Code:/etc/init.d/sshd start
Your connection is made as:Code:/etc/init.d/sshd stop
Code:ssh -XY remoteusername@remotehostname
- 11-27-2010 #7Just 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
- 11-29-2010 #8Just 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


Reply With Quote
