http://www.nikhef.nl/~janjust/CifsOverSSH/Howto_Loopback.html
WindowsXP-KB884020-x86-cht.exe, non 127.0.0.1 loopback patch
--
ssh -Llocal_loopback:139:remote_netbios_server:139 remote_ssh_server
--
local_loopback:
ip=10.0.0.1/30
metric=9999
netbios over tcpip=disabled
client for microsoft networks=unchecked
file and printer sharing for microsoft networks=unchecked
local_interface:
netbios over tcpip=disabled
client for microsoft networks=unchecked
remote disk over ssh
ssh auto login without password
#
# run to get /etc/ssh_config, /etc/sshd_config
ssh-host-config
# run to get ~/.ssh/id_rsa.pub
ssh-user-config
# append id_rsa.pub to remote key store
cat ~/.ssh/id_rsa.pub | ssh user@host "cat >> .ssh/authorized_keys"
# run to get /etc/ssh_config, /etc/sshd_config
ssh-host-config
# run to get ~/.ssh/id_rsa.pub
ssh-user-config
# append id_rsa.pub to remote key store
cat ~/.ssh/id_rsa.pub | ssh user@host "cat >> .ssh/authorized_keys"
訂閱:
文章 (Atom)
Disable UDP to solve frequent RDP disconnection
解決 RDP 遠端桌面經常斷線問題:「關閉 UDP 傳輸」 在使用 Windows 內建的 遠端桌面(RDP, Remote Desktop Protocol) 連線時,你是否也常遇到連線突然卡死、畫面凍結,或是頻繁跳出「連線已中...