openwrt 安装ssh客户端更新openwrt安装源

0.更新openwrt安装源


更改源文件
vim /etc/opkg.conf

更新内容:

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz barrier_breaker_base http://downloads.openwrt.org/barrier_breaker/14.07/r
src/gz barrier_breaker_extra http://downloads.openwrt.org/barrier_breaker/14.07/
src/gz barrier_breaker_luci http://downloads.openwrt.org/barrier_breaker/14.07/r
src/gz barrier_breaker_management http://downloads.openwrt.org/barrier_breaker/1
src/gz barrier_breaker_oldpackages http://downloads.openwrt.org/barrier_breaker/
src/gz barrier_breaker_packages http://downloads.openwrt.org/barrier_breaker/14.
src/gz barrier_breaker_routing http://downloads.openwrt.org/barrier_breaker/14.0
src/gz barrier_breaker_telephony http://downloads.openwrt.org/barrier_breaker/14
~

安装sshserver
opkg update
opkg install openssh-server
opkg install openssh-client

启动ssh
/etc/init.d/sshd enable
/etc/init.d/sshd start

安装sftp

opkg update
opkg install openssh-sftp-server



你可能感兴趣的:(openwrt)