Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to setup crontab to login to other host automatically to fetch some details

Posted on 2011-09-27
8
Medium Priority
?
256 Views
Last Modified: 2012-05-12
Hello, I would like to know how to setup crontab to login to other hosts automatically to fetch some details. I understand that there is is auto ssh trust key setup. But is there any other way except ssh so that I can setup a framework for password less authentication? Thanks!
0
Comment
Question by:beer9
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 9

Accepted Solution

by:
parparov earned 668 total points
ID: 36712288
.shosts
public key authentication (user level)
host key authentication (host level)
0
 
LVL 40

Expert Comment

by:noci
ID: 36713524
You can try kerberos.
0
 

Author Comment

by:beer9
ID: 36902819
can we do it using rlogin or rsh or something like that?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 40

Assisted Solution

by:noci
noci earned 668 total points
ID: 36902933
rsh / rlogin have the assumtion that the originating host is reliable, and trustworthy.

So it accepts the claim that my system says i am the root user and that your system should accept that without further proof.
That might hold in a closed network with absolute control on any connection  made to that network...

If i can bring one piece of equipment myself then..., or if there is one system in your network that you don't own...
protocols like ftp/telnet tend to use plaintekst password & usernames, so a little sniffing can help a lot to get furteher access.

kerberos & ssh both allow you to get confidentiality back into your connection, including authorisation & authentication.
0
 
LVL 9

Expert Comment

by:parparov
ID: 36903684
shosts would provide you with required rsh functionality without need to send anything unencrypted.
0
 
LVL 37

Assisted Solution

by:ArneLovius
ArneLovius earned 664 total points
ID: 36927351
how about just using rsync over ssh with key based auth to copy the files ?

rsync user@host:/path/to/file /local/destination

Open in new window

0
 
LVL 9

Expert Comment

by:parparov
ID: 36933484
ArneLovius,

I understand the device connecting is just an appliance that may not be able to use rsync.
0
 

Author Closing Comment

by:beer9
ID: 36935019
Thank you!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, 13 hours left to enroll

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question