显示标签为“Linux”的博文。显示所有博文
显示标签为“Linux”的博文。显示所有博文

星期六, 九月 03, 2011

Running SSH Server On Multi Port

modify /etc/sshd/sshd_config as below

#AllowTcpForwarding yes
GatewayPorts yes
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes



port xxx
port xxx

星期五, 七月 15, 2011

How to use ncftpget (ubuntu)

installation:
apt-get install ncftp

command:
ncftpget -f login.cfg [options] local-directory remote-files...


login.cf format:
host x.x.x.x
user username
pass password

sample:
ncftpget -f login.cfg -R ./ ./downloads/