在Windows與 ubuntu 之間使用 SSH 進行文件傳輸時,如果出現 Windows 可以向 ubuntu 傳輸,而
ubuntu 不能向 Windows 傳輸,可以檢查一下 windows 下的防火牆是否已經開啓了,把防火牆關閉再重試。
如果出現傳輸文件的速度很慢,可以通過修改 ubuntu 下的配置文件解決 :打開 ubunt 下的
/etc/ssh/sshd_config 文件, 將 GSSAPIAuthentication 參數改爲 no,然後重啓 sshd 即可。
chkconfig -- level 2345 sshd on /etc/init.d/sshd start