Joerg Posted March 20, 2008 Share Posted March 20, 2008 After googling I found out that this question is documented, but even after using the same code I can't get it to work (maybe because I used ssh yesterday for the first time). I want to connect to a virtual Windows XP machine with my ubuntu machine. I installed the openssh-server on ubuntu, forwarded the port 22 on my router and created a dyndns hostname. On the Windows XP machine, I'm using PuTTy. So, Ubuntu is the server, and Windows the client. I want Windows (PuTTy) to connect to Ubuntu (ssh-server) and create a tunnel so I can use this connection to execute some shell commands. So here's what I tried: Executed code - Windows (plink is the command line tool of putty) plink.exe -R -N 2048:localhost:22 email@example.com I get an connection, enter my username and password of my ubuntu machine. Executed code - Ubuntu ssh -p 2048 username.of.windows@localhost I get an "ssh_exchange_identification: Connection closed by remote host " error ? I added "sshd : ALL" to /etc/hosts.allow, but it doesn't seem to help. Hmm, does anyone has a solution, and, is it actually possible to have a windows shell under linux/ubuntu? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.