顯示具有 SSH 標籤的文章。 顯示所有文章
顯示具有 SSH 標籤的文章。 顯示所有文章

2009年5月11日

tar on the fly & compress

tar cvf - directory_name | gzip -9 -c | ssh taiwanwolf@file_server_IP "cat > /home/taiwanwolf/CDR_200905.tgz"

2008年10月13日

[SSH] Local: Bad packet length 1349676916.

這幾天在作硬碟備份,所以需要開一些firewall與CISCO的ACL,但是在開完之後用SSH到File Server卻回應 Local: Bad packet length 1349676916.的訊息,無法連線

此時解決方法為,可在 server端 操作下列步驟

step1
cat /etc/ssh/sshd_config | grep Protocol
#Protocol 2,1
Protocol 2

step2
vim /etc/ssh/sshd_config 改為可支援 ssh v1及 v2
Protocol 2,1
#Protocol 2

step3
改為再下reload指令 service sshd restart

應該就可以正常連線了

原始出處 : http://ubuntuforums.org/archive/index.php/t-6928.html