LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-12-2008, 04:35 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question no /etc/hosts.equiv


Hi,


can any one give an example for configuring .rhosts file so that
i can allow some trusted computers in my LAN to access my ubuntu 8.04 machine via telnet,ssh without having to enter password

BTW there is no /etc/hosts.equiv file in my machine, so will i have to create it ...????
 
Old 08-12-2008, 05:06 AM   #2
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
I've used this link as a guide before, and its pretty straightforward.
Yes you can create hosts.equiv if it doesn't exist already. Or if its for a single user, you can probably create a ~/.rhosts for that user too.
I think these files are only for the 'r' services (rlogin, rcp, etc). If you want passwordless ssh you'd have to do something else.
 
Old 08-12-2008, 06:18 AM   #3
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Original Poster
Rep: Reputation: 36
Question

Quote:
Originally Posted by arungoodboy View Post
I've used this link as a guide before, and its pretty straightforward.
Yes you can create hosts.equiv if it doesn't exist already. Or if its for a single user, you can probably create a ~/.rhosts for that user too.
I think these files are only for the 'r' services (rlogin, rcp, etc). If you want passwordless ssh you'd have to do something else.

but i am not even able to ssh into my machine

i am getting the message:

ssh: connect to host 192.168.40.230 port 22: Connection refused

which services will i have to enable ?
 
Old 08-12-2008, 06:59 AM   #4
junpa
Member
 
Registered: Aug 2008
Location: Northern Hemisphere
Distribution: Slackware, OpenVMS, fbsd
Posts: 51

Rep: Reputation: 16
Quote:
Originally Posted by sulekha View Post
but i am not even able to ssh into my machine

i am getting the message:

ssh: connect to host 192.168.40.230 port 22: Connection refused

which services will i have to enable ?
type the following command to start the ssh daemon
Code:
/etc/init.d/sshd start
 
Old 08-13-2008, 04:36 AM   #5
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Original Poster
Rep: Reputation: 36
Question

Quote:
Originally Posted by junpa View Post
type the following command to start the ssh daemon
Code:
/etc/init.d/sshd start

i am getting the message as follows

bash: /etc/init.d/sshd: No such file or directory


but the thing is i am able to ssh into other linux machines
and there is no firewall enabled in my machine. i have installed sshfs in my machine.
 
  


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
What is the difference between "/etc/hosts.equiv" AND ".rhosts" ? kcarun Solaris / OpenSolaris 17 05-25-2020 07:08 AM
Verify /etc/hosts usage and round robin in /etc/hosts MikeyCarter Linux - Software 1 06-24-2008 12:20 PM
Trying to get r-tools for hosts.equiv file gdhopavkar Linux - Newbie 1 04-26-2008 09:53 AM
can't restrict sshd access through hosts.allow and hosts.deny but was working earlier farhan Linux - Security 4 04-18-2008 07:41 AM
solaris 9 rsh and /etc/hosts.equiv pymehta Solaris / OpenSolaris 3 01-19-2005 11:07 AM

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

All times are GMT -5. The time now is 08:33 AM.

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
Open Source Consulting | Domain Registration