LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-06-2005, 01:28 AM   #1
tuxuser19
Member
 
Registered: Oct 2005
Posts: 67

Rep: Reputation: 15
Using SSH to login to a local pc???


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 through SSH 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?
 
Old 11-06-2005, 02:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
by default you won't have to change anything. there are basiuc example of hosts.deny / hosts.allow usage here if you want to add additional restrictions: http://linux.about.com/od/commands/l...l5_hostsal.htm basically your deny would be ALL : ALL and your allow would just open up to the local IP address.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reading local VT (tty1) over SSH malo_umoran Slackware 3 11-18-2005 03:40 PM
can login to ssh via local network, but not outside brainlesspinkey Linux - Security 3 08-27-2005 04:12 PM
remote x login instead of local login mandrake-n00b Mandriva 0 04-22-2005 09:19 PM
Allow ProFTP login but prevent local login? sorrodos Linux - Networking 2 06-23-2004 01:56 PM
How do i SSH to a local box? Nemeliza Linux - Newbie 1 05-09-2004 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration