• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

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

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
beer9
Asked:
beer9
  • 3
  • 2
  • 2
  • +1
3 Solutions
 
parparovCommented:
.shosts
public key authentication (user level)
host key authentication (host level)
0
 
nociSoftware EngineerCommented:
You can try kerberos.
0
 
beer9Author Commented:
can we do it using rlogin or rsh or something like that?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
nociSoftware EngineerCommented:
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
 
parparovCommented:
shosts would provide you with required rsh functionality without need to send anything unencrypted.
0
 
ArneLoviusCommented:
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
 
parparovCommented:
ArneLovius,

I understand the device connecting is just an appliance that may not be able to use rsync.
0
 
beer9Author Commented:
Thank you!
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now