How to use SFTP to backup MSL e.t.c

Log into the MSL using putty.

If you don’t know how to then check out this earlier post

Log in a “root” and use same password as “admin” (Normally)

First of al you need to get the RSA key fro the SFTP server.

in the putty session you have open type

$ ssh-keyscan -t rsa server_ip
It will show something like the below:
# server_ip SSH-2.0-OpenSSH_4.3
server_ip ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwH5EXZG...

Highlight the RSA key and right click. This copy it into the clip board

Now open the file kown_hosts

cd /root/.ssh/
nano known_hosts (nano is a txt editor)

If this file has an entry for the server already i would put a '#' infront to ignore it
Then past in the new RSA key

Should look something liek this

172.16.1.2 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwH5EXZG...

Press ctrl -x to exit
It then asks you if you would like to save changes. y=yes . 
Then confirm file name by pressing enter.

now either test from putty

sftp username@server_ip_address
e.g. backups@172.16.1.2

if the above has worked you should get prompted to enter the password

OR
just run the network backup from the MSL web page
 

Leave a Reply

Your email address will not be published. Required fields are marked *