Back
Can anyone tell me how to run commands like ftp, sftp or scp which doesn’t require a password for connection?
You can implement the code like the below example:
rsync [some other parameters] -e ssh SOURCE TARGET
If you want to know more, you can refer to manual pages of scp or rsync.
Interested in Linux? Check out this Linux Certification by Intellipaat.
31k questions
32.8k answers
501 comments
693 users