sftp - Shell Script program to download files from linux remote server -
I am very new in shell scripting, I want to download some files from Linux remote server, so how do I This remote server can be moved based on SSH.
Firstly, there is a better option for getting FTP server files from remote servers.
If only sshd service is available, you can use ssh based command sftp or
scp . However, the
sftp or
scp command will be used from an interactive password prompt, which is a problem in the shell script - & gt; In addition to the
hope , you can also establish a trust relationship between the two servers, then you
scp password Can be used without
Comments
Post a Comment