熱門文章

顯示具有 filezilla 標籤的文章。 顯示所有文章
顯示具有 filezilla 標籤的文章。 顯示所有文章

2017年2月7日 星期二

AWS EC2 SFTP

使用SFTP來上傳檔案

  • 需要私鑰,但必須轉成.ppk格式
  • FileZilla 
  • Host
  • 帳號密碼


Using An SSH Key

Once you have your server's SSH key, choose your preferred application and follow the steps below to connect to the server using SFTP.
FileZilla
IMPORTANT: To use FileZilla, your server private key should be in PPK format.
Follow these steps:
  • Download and install FileZilla.
  • Launch FileZilla and use the "Edit -> Settings" command to bring up FileZilla's configuration settings.
  • Within the "Connection -> SFTP" section, use the "Add keyfile" command to select the private key file for the server. FileZilla will use this private key to log in to the server.FileZilla configuration
  • Use the "File -> Site Manager -> New Site" command to bring up the FileZilla Site Manager, where you can set up a connection to your server.
  • Enter your server host name and specify bitnami as the user name.
  • Select "SFTP" as the protocol and "Ask for password" as the logon type.FileZilla configuration
  • Use the "Connect" button to connect to the server and begin an SFTP session. You might need to accept the server key, by clicking "Yes" or "OK" to proceed.

2016年8月18日 星期四

[Raspberry Pi]架設FTP Server

sudo apt-get update
sudo apt-get upgrade
安裝vsftpd軟體
sudo apt-get install vsftpd 
進入修改設定
sudo nano /etc/vsftpd.conf
把文件中的改為如圖所示,去除'#'符號,意思是允許本地端、允許用戶上傳寫入資料
#local_enable=YES
#write_enable=YES
改成
 local_enable=YES
write_enable=YES


啟動
sudo apt-get install vsftpd

接下來可以用本地端電腦FTP連線測試

本範例使用OS X- El Capitan 10.11版本,使用FileZilla軟體,或其他FTP軟體也可行


輸入樹莓派所在IP位置及帳號密碼 (預設帳號為pi,密碼為raspberry) Port不預設為21

只有home/pi 可以傳輸
在我要安裝外掛的時候,發生無法傳輸





成功!也可以使用手機Android /iSO 進行FTP連線