Hi
I managed to install SSH on most of my computers using Cygwin and Copssh. For some reason one of my laptops did not like Cygwin and SSH just did not work on it so I ended up installing Copssh which seem to work now. Now everything works fine within my network but I have couple things I need to figure out. Hopefully there are couple experienced users here.
1- I have forwarded port 22 in my firewall to my laptop so that I can access over the internet. I have not tried it outside but hopefully it would work. My question is that I also would like to access my dekstop using ssh from the outside world. But the thing is that I do not want to enable another port in my firewall for my desktop(tried did not work anyways) to my desktop because I have all kinds of important stuff on it. So here is what I want to do and I do not know how to do it. I want to be able to connect to my laptop from outside and somehow enable some of the drives(on my desktop) that are not shared and enable some form of access temporarily and disable when I do not need them. At the moment I have shared drives(on my desktop) and I can access them once I logged into ssh account via "cd //server name/share". The thing is that I also have some drives that I do not even share inside my network. And those are the ones I want to be able to access from outside.
2- Regarding the issue above, is it possible to switch port forwarding on my router(linksys) via ssh? I know it sounds silly but since I have ddwrt on it I thought maybe it is possible to connect to it via command line. I will investigate this one later but for now it is easier for me to ask here.
3-I am also trying to understand this public key private key thingies. I read couple pages but so far I have not found any simple tutorial. Are they better than using passwords? If so how can I setup? Does anyone know any simple tutorial for putty-cygwin(client server)
4- I also want to be able to use git or bazaar over ssh. These parts of their documentation is little vague. They all assume some implicit understanding of how those systems work. I have used tortoise in the past but on mylocal systed. I know the basics of checkin checkout but have not really figured out how I can check out, update via sftp. It seems possible but not well covered I think
5-I need to figure out connecting to xserver thing. I can start xserver but never tried it connecting from outside. If anyone knows any simple tutorial that would be great.
Sorry for so many questions but I am exhausted for 2 days due to trying to get this ssh stuff work properly. It is easy if you are lucky(no problems within your system) but 2 of my machines gave me major headache and I ended up reinstalling Cygwin so many times. On one machine it took only 5 min on another over half a day. Go figure. I have no idea why that would be the case really.
thanks
I managed to install SSH on most of my computers using Cygwin and Copssh. For some reason one of my laptops did not like Cygwin and SSH just did not work on it so I ended up installing Copssh which seem to work now. Now everything works fine within my network but I have couple things I need to figure out. Hopefully there are couple experienced users here.
1- I have forwarded port 22 in my firewall to my laptop so that I can access over the internet. I have not tried it outside but hopefully it would work. My question is that I also would like to access my dekstop using ssh from the outside world. But the thing is that I do not want to enable another port in my firewall for my desktop(tried did not work anyways) to my desktop because I have all kinds of important stuff on it. So here is what I want to do and I do not know how to do it. I want to be able to connect to my laptop from outside and somehow enable some of the drives(on my desktop) that are not shared and enable some form of access temporarily and disable when I do not need them. At the moment I have shared drives(on my desktop) and I can access them once I logged into ssh account via "cd //server name/share". The thing is that I also have some drives that I do not even share inside my network. And those are the ones I want to be able to access from outside.
2- Regarding the issue above, is it possible to switch port forwarding on my router(linksys) via ssh? I know it sounds silly but since I have ddwrt on it I thought maybe it is possible to connect to it via command line. I will investigate this one later but for now it is easier for me to ask here.
3-I am also trying to understand this public key private key thingies. I read couple pages but so far I have not found any simple tutorial. Are they better than using passwords? If so how can I setup? Does anyone know any simple tutorial for putty-cygwin(client server)
4- I also want to be able to use git or bazaar over ssh. These parts of their documentation is little vague. They all assume some implicit understanding of how those systems work. I have used tortoise in the past but on mylocal systed. I know the basics of checkin checkout but have not really figured out how I can check out, update via sftp. It seems possible but not well covered I think
5-I need to figure out connecting to xserver thing. I can start xserver but never tried it connecting from outside. If anyone knows any simple tutorial that would be great.
Sorry for so many questions but I am exhausted for 2 days due to trying to get this ssh stuff work properly. It is easy if you are lucky(no problems within your system) but 2 of my machines gave me major headache and I ended up reinstalling Cygwin so many times. On one machine it took only 5 min on another over half a day. Go figure. I have no idea why that would be the case really.
thanks


Again, the 
