Solved

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

Posted on 2011-09-27
8
232 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 167 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 40

Assisted Solution

by:noci
noci earned 167 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 166 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

815 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now