Results 1 to 4 of 4
I have 2 pc's networked at my home. Both are running Debian 3.1 and they are connected to internet through a switch and the switch is connected to ADSL modem.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-06-2005 #1
How to login to local network through SSH?
I have 2 pc's networked at my home. Both are running Debian 3.1 and they are connected to internet through a switch and the switch is connected to ADSL modem.
Inorder for me to login to first pc from second pc-what are the files I have to edit in first pc?
I vaguely know that I have to edit the /etc/hosts.allow file in fiirst pc to allow the second pc to login to first. What is the exact format I have to add in /etc/hosts.allow for the second pc to login into first through SSH?Registered Linux User#394486
- 11-06-2005 #2
The only files I remember editing with ssh was the ssh config file @ /etc/ssh/ssh_config.
and then(foo being the user, and 192.168.0.3 being the IP of the first box). If you need the hosts.allow reading the manpage (man hosts.allow) will tell you to put the IP of the computer which is connecting.Code:ssh foo:192.168.0.3
- 11-06-2005 #3
I figured it out...
what I have done is added the host names in both of the pc's in /etc/hosts
and >ssh -l username ipaddress
After that it asks for password and all set to go.
Thank you for the help Dylunio
Registered Linux User#394486
- 11-06-2005 #4Linux Enthusiast
- Join Date
- Aug 2005
- Location
- Hell
- Posts
- 514
or "ssh username@ipaddress"


Reply With Quote
