My goodness I am seeing such a good question after a really long time in LUG
On Tue, May 8, 2012 at 2:18 PM, poomalairaj <[email protected]> wrote: > Hi all, > > I have a Nokia N900. As I could not login to the phone over 3G, I use > reverse ssh to login to the phone. I used to run the following command on > the phone > > ssh -R 22222:localhost:22 poo@mywebserver > > Now I will login to my webserver and run the following to login to N900 > > ssh user@localhost -p 22222 > Okay > Now I want to login to my N900 and forward X from n900 and want to use it > in my desktop. Is there any way to do this? I have done this using xephyr > over normal ssh on my ubuntu pc. but I dont know how to do the same using > reverse ssh. > What is reverse ssh? You mean remote port fwd? Xephyr is actually Xnest which allows multiseat and is a X in X, that is all I know. I dunno how you used it to do X forward. Did you use the ssh -Y switch? > You don't have to worry about "n900". Just think of a pc behind firewall or > NAT and can not be port forwarded. We have to use reverse ssh to login to > the pc and want the X to be forwarded also. Thats it It is remote port fwd. I got it. You can easily tunnel X using the ssh -Y switch. How can that be a problem? Or did I misunderstand? Say instead of running, $ ssh -R 2222:localhost:22 you say $ ssh -YR 2222:... But this would forward from the N900 to the web server. You want it from there to here? Okay let me think. > > Can you please help me? If there is some way other than using ssh please > let me know When you do ssh using this ssh port forwarding use the -Y switch. Also make sure the option is enabled in /etc/ssh/sshd_config. -Girish -- Gayatri Hitech http://gayatri-hitech.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
