Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
cloudappliance/sftpsetup [2020_09_21 21:39] dancloudappliance/sftpsetup [2020_09_23 10:19] smeadmin
Line 283: Line 283:
  
 ``` ```
-cd /var/www/smestorage/ftpserver/sftpserver/+cd /var/www/smestorage/
 ssh-keygen -t rsa -f "./ssh_host_rsa_key"    #(don't enter any passphrase) ssh-keygen -t rsa -f "./ssh_host_rsa_key"    #(don't enter any passphrase)
 chown smestorage:smestorage ssh_host_* chown smestorage:smestorage ssh_host_*
Line 291: Line 291:
 Edit sftpserver.conf file and change the 2 lines as below: Edit sftpserver.conf file and change the 2 lines as below:
 ``` ```
-pathToKey=ssh_host_rsa_key +pathToKey=/var/www/smestorage/ssh_host_rsa_key 
-pathToCert=ssh_host_rsa_key.pub+pathToCert=/var/www/smestorage/ssh_host_rsa_key.pub
 ``` ```