I remotely administer a CentOS5 server from a Windows XP desktop using Putty with a public/private key combo and Webmin on the server accessed by port forwarding.
I have just installed Ubuntu 9.10 on another desktop which I want to use for the same administration processes.
I have created a new public/private key combo using the Passwords and Encryption keys application and I can connect just fine and browse the server's filesystem and transfer files in both directions.
I have been trying, from the local shell, to get the port forwarding working so that I can access Webmin.
I tried sudo ssh -R 10000:localhost:10005 username@ipaddress but it hangs and times out saying it was trying to connect to port 22.
Also sudo ssh -i ~/.ssh/privatekeyfilename -R 10000:localhost:10005 username@ipaddress brings the same result
The real problem is that I don't really understand what I am doing!
Expert advice would be hugely appreciated.