Forum Stats

  • 3,873,310 Users
  • 2,266,532 Discussions
  • 7,911,502 Comments

Discussions

rsync soalris to linux

Robeen
Robeen Member Posts: 2,249 Silver Badge
edited Feb 5, 2021 4:18PM in Solaris 10

target Oracle Linux 7

source: Sun OS

Hello Team,


we are pulling files from the SunOS server to the Linux server. RSYNC will run from the Linux server to pull files from the SunOS server.

Below command is working fine. We would like to use passwordless SSH.


rsync -zarvh [email protected]<SunOS server IP>:/data/CDR/ocscdr/voice/backup_ocs_voice/ /data/CDR


I have cheked below URL

https://community.oracle.com/tech/apps-infra/discussion/comment/8186305#Comment_8186305


Keygen seems to be already generated (//.ssh/id_rsa)

# ssh-keygen -t rsa

Generating public/private rsa key pair.

Enter file in which to save the key (//.ssh/id_rsa): ^C#

#

#

# cat //.ssh/id_rsa

-----BEGIN RSA PRIVATE KEY-----

MIICWwIBAAKBgQDZHkvGkc5ZTBsOEaKnzxCeYUWtgk579B9zpYD/UEGGv54ZuRJ/

RY31NJZRmIRq0uJhgEInTxsrwFM4YwNjynJT2i5cZjgGv4S/DDci82Y57LTGNMsn

3OnZPPlVkEDShW34db+1Pq0BM2EdMbsZ+0gG826jcvVoLTmDQQdHGxlJPwIBIwKB

gAxoIZZReYFyECywjPOlbqn27gnqMF7av/f61CvYs0mHStzmAQ6WQqBMJdjG4v7K

ONJfGbkadpTJKVOt4u/CbO6+Si4tAoKopz8zjuPuPhSzV/RWSvqgYtwP34mMvdo0

JqJEwmn7g2CUVbv1u0qfGRS47Dmh+w4zx/ZqrQu5/OwLAkEA99/5WkVbAGkKgEiP

idEMucuzCosek+uaMscw1faXWh/H4A34rBJvu6Hi/kUJOg23D71UpFJmlHA20CqD

ceFEoQJBAOA8OvhGvTes4oWp/qBWwvBl30Qf51I8M/RqPZtP0JqqGOJnfeEfd1Pi

4OcoduEDZT+LXjv5iQ6d9CYIdnJt4d8CQA4qDj+sMRX3X6+PHiUh43hUyGcAoqld

643ffyIrWRsXwkdRQWjrHFPdXW2di3+pAyV4iH5rG833yJ4uUKdr9UsCQQDZ1BwH

ICWGirAqEtoYGcSvA+AzjLTTivCkSfK0IaYSlpvUnwyRjEgIWL04UzGnYmJa/Gor

ofLa/9c646ZDRivfAkEA2cAuaaD1pqpZQpEpiL5hN6t++TrYA/gRYZvaBUBp5Eyg

szNC/qq7QPsz8MxeRecPTcyLzg5RBXzoH+iGx07YkA==

-----END RSA PRIVATE KEY-----


Could you please advise how to modify above rsync command to pull data without specifying password?


Thanks,

Roshan

Best Answer

Answers