As we know, the original windows remote desktop client does not support ipv6 connection, so here, I provide a method to enable ubuntu user to access window remote desktop in a ssh tunnel on a ipv6 network. This method also supports windows-to-windows connection.
download
http://nchc.dl.sourceforge.net/sourceforge/sshwindows/setupssh381-20040709.zip
and install (the default install path is C:/program files/openssh)
enter terminal (run cmd):
cd C:/program files/openssh/bin
run the commands below:
mkgroup -l >> ../etc/group
mkpasswd -l -u >> ../etc/passwd
note: should be substitued into your username.
Second, setup a port proxty for ssh. (because windows ssh server can not suport ipv6)
netsh interface portproxy add v6tov4 listen listenport=22 connectionport=22
sudo apt-get install ssh
install putty. (use this powerful tools to setup ssh tunnel).
sudo apt-get install putty
configuration:
session: (image)
SSH->Tunnel: (image)

click "open", open the ssh connection.
input usrname and passwd to login.
click "Connect", we can access remote Windows Destop now.
The other method to support ssh tunnel on Linux Client:
ssh -L 3389/localhost/3389 wrsh1983@2001:da8:bf:0:20a:ebff:fe99:78da
we do not need putty in this way.
- Sever Configuation: (Windows end)
download
http://nchc.dl.sourceforge.net/sourceforge/sshwindows/setupssh381-20040709.zip
and install (the default install path is C:/program files/openssh)
enter terminal (run cmd):
cd C:/program files/openssh/bin
run the commands below:
mkgroup -l >> ../etc/group
mkpasswd -l -u >> ../etc/passwd
note: should be substitued into your username.
Second, setup a port proxty for ssh. (because windows ssh server can not suport ipv6)
netsh interface portproxy add v6tov4 listen listenport=22 connectionport=22
- Client Configuation: (Linux or Windows)
sudo apt-get install ssh
install putty. (use this powerful tools to setup ssh tunnel).
sudo apt-get install putty
configuration:
session: (image)
SSH->Tunnel: (image)

click "open", open the ssh connection.
input usrname and passwd to login.
- Now, we can use window remote Desktop
click "Connect", we can access remote Windows Destop now.
The other method to support ssh tunnel on Linux Client:
ssh -L 3389/localhost/3389 wrsh1983@2001:da8:bf:0:20a:ebff:fe99:78da
we do not need putty in this way.
本文介绍了一种通过SSH隧道实现IPv6网络环境下Ubuntu用户访问Windows远程桌面的方法,同时也支持Windows到Windows的连接。该方法首先需要在Windows端安装OpenSSH并配置端口代理,然后在客户端(Linux或Windows)上安装SSH工具如PuTTY来建立SSH隧道。

1839

被折叠的 条评论
为什么被折叠?



