linux配置
sudo apt-get install openssh-server
sudo vim /etc/ssh/ssh_config
change
# Port 22
# Protocol 2
to
Port 22
Protocol 2,1
sudo service ssh restart
sudo ps -s | grep ssh
Done
Windows
You need to install pscp first.
1.Upload to linux:
pscp fileToSend dashuaige@192.168.23.3:/home/dashuaige/
dashuaige is the username
192.168.23.3 is the ip address of linux
You need to tap password then.
2.Download from linux:
pscp dashuaige@192.168.23.3:/home/dashuaige/filename C:/path
For folder, add -r to pscp.