====== OpenSSH SFTP server ====== ===== OpenWrt に FileZilla で接続できない場合 ===== FileZilla で接続すると以下のように接続エラーとなる。\\ 14:15:50 状態: 192.168.1.254:22 に接続中... 14:15:51 状態: Connected to 192.168.1.254 14:15:51 エラー: FATAL ERROR: Received unexpected end-of-file from SFTP server 14:15:51 エラー: サーバーに接続できませんでした 14:15:51 状態: 再試行を待機中... OpenWrt ルーターに **openssh-sftp-server** パッケージをインストールするとこの問題は解消される。\\ 14:28:49 状態: 192.168.1.254:22 に接続中... 14:28:51 状態: Connected to 192.168.1.254 14:28:51 状態: ディレクトリ リストを取得中... 14:28:51 状態: Listing directory /root 14:28:51 状態: "/root" のディレクトリ リストの表示成功 ===== インストール ===== # opkg update && opkg install openssh-sftp-server Downloading https://fw.gl-inet.com/releases/kmod-3.2/ar71xx/nand/Packages.gz Updated list of available packages in /var/opkg-lists/glinet_core Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/sync_kmod-3.2/Packages.gz Updated list of available packages in /var/opkg-lists/glinet_sync Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/base/Packages.gz Updated list of available packages in /var/opkg-lists/glinet_base Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/gli_pub/Packages.gz Updated list of available packages in /var/opkg-lists/glinet_gli_pub Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/packages/Packages.gz Updated list of available packages in /var/opkg-lists/glinet_packages Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/luci/Packages.gz Updated list of available packages in /var/opkg-lists/glinet_luci Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/routing/Packages.gz Updated list of available packages in /var/opkg-lists/glinet_routing Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/glinet_telephony Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/glinet/Packages.gz Updated list of available packages in /var/opkg-lists/glinet_glinet Installing openssh-sftp-server (7.7p1-1) to root... Downloading https://fw.gl-inet.com/releases/packages-3.x/ar71xx/packages/openssh-sftp-server_7.7p1-1_mips_24kc.ipk Configuring openssh-sftp-server. ===== 参考文献 ===== [[https://forum.openwrt.org/t/solved-cannot-access-router-via-filezilla/7388/3|[SOLVED] Cannot access router via FileZilla - Installing and Using OpenWrt - OpenWrt Forum]]\\