Sponsored Content
Top Forums UNIX for Dummies Questions & Answers vnc over an ssh tunnel Linux to Linux to Windows Post 302438789 by bankai on Tuesday 20th of July 2010 10:02:40 PM
Old 07-20-2010
You have two choices in a situation like this:

Setup a port forward from site A to site B, then VNC through that

from site A
Code:
# ssh -L 8080:windows_machine:vnc_port site_B
# vncviewer localhost:8080

Or set up a reverse tunnel from site B to A and vnc from A

So, from site B:
Code:
# ssh -R 8888:windows_machine:vnc_port site_A
then on site A
# vncviewer localhost:8888

This User Gave Thanks to bankai For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SSH into a linux machine from a windows machine

I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies

2. UNIX for Dummies Questions & Answers

Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer

:confused:Hi This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons. I get a whole bunch of errors when starting the service too: Tue Feb 23 14:29:45 2010 ... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

3. UNIX for Dummies Questions & Answers

How to access many X Linux sessions from VNC?

Sorry for my poor english, I'm new in linux world, and i'm in trouble to do remote connections, at the same time, from windows clients (via vnc) to a linux server (debian), I've tried vncserver and x11vnc. My difficult are connecting many windows xp (via vnc), because actually, when I try to... (0 Replies)
Discussion started by: abutre69
0 Replies

4. UNIX for Advanced & Expert Users

VNC over SSH on a reversible tunnel

Hi there, I have a situation in which one of my client have a few computers (MS Windows) behind a non routable box. They also have a tiny server (Debian). Because the box is non routable, I cannot create any port forwarding : neither on port 22 to the Debian server nor on port 590X to... (3 Replies)
Discussion started by: chebarbudo
3 Replies

5. Linux

Help!! trying to connect to linux SSH from windows putty client

Hi, i am trying to connect my Putty session on a windows box to a linux SSH, i have generated private and public key pairs using puttygen, i have set the public one to be in an OPENSSH format... and have put this in my authorized_keys file in linux, when i connect i get the following errors: ... (1 Reply)
Discussion started by: Jtyreman
1 Replies

6. UNIX for Dummies Questions & Answers

SSH tunnel working for ssh but not for sshfs

I'm trying to setup a link between my home pc (work-machine) and a server at work (tar-machine) that is behind a gateway (hop-machine) and not directly accessible. my actions: work-machine$ ssh -L 1234:tar-machine:22 hop-machine work-machine$ ssh -p 1234 user@127.0.0.1 - shh access on... (1 Reply)
Discussion started by: Vathau
1 Replies

7. Shell Programming and Scripting

Connect (SSH) to Windows server via Linux server through a script and passing command.. but failing

I am trying to connect to Windows server via Linux server through a script and run two commands " cd and ls " But its giving me error saying " could not start the program" followed by the command name i specify e g : "cd" i am trying in this manner " ssh username@servername "cd... (5 Replies)
Discussion started by: sunil seelam
5 Replies

8. UNIX for Advanced & Expert Users

Issues with passwordless sftp2 from windows to Linux using F-Secure SSH Client

Hi, I am facing problems whie trying to do a passwordless ssh to Unix box from windows. Public key was generated using F-secure. When the F-secure client attempts it connects without password but when I try to use sftp2 in command line it prompts for password. I have tried several options and... (0 Replies)
Discussion started by: dhrajj
0 Replies

9. Linux

Issues with passwordless sftp2 from windows to Linux using F-Secure SSH Client

Hi, I am facing problems whie trying to do a passwordless ssh to Unix box from windows. Public key was generated using F-secure. When the F-secure client attempts it connects without password but when I try to use sftp2 in command line it prompts for password. I have tried several options and... (3 Replies)
Discussion started by: dhrajj
3 Replies

10. Windows & DOS: Issues & Discussions

Cant get responsive terminal when I ssh from Windows to Linux using putty.exe

I ssh from Windows to Linux server and execute a few commands. I have ssh keys setup between them and works fine. The commands get executed on the Linux server however I wish to stay on the Linux terminal that was opened by putty.exe. However, the terminal simply does the job and closes. ... (10 Replies)
Discussion started by: mohtashims
10 Replies
DOKUWIKI-ADDSITE(1)						   User commands					       DOKUWIKI-ADDSITE(1)

NAME
dokuwiki-addsite - Create a new site driven by DokuWiki SYNOPSIS
dokuwiki-addsite {SITE_NAME} DESCRIPTION
DokuWiki is a standards compliant, simple to use wiki mainly aimed at creating documentation of any kind. dokuwiki-addsite creates the file hierarchy and configuration required to define a new site driven by the installed DokuWiki engine. OPTIONS
SITE_NAME Name of the site to create. For a virtual host-based setup, it reflects the corresponding hostname. For instance, for a site accessible at an address such as http://wiki.project.example.com:8080/foo/bar/, it can be either project.example.com, wiki.project.example.com, wiki.project.example.com.foo.bar or even 8080.wiki.project.example.com.foo.bar. For a directory or htaccess-based setup, this is the corresponding site identifier. For instance, for a site accessible at an address such as http://wiki.example.com/project/, rewritten by the web server as doku.php?animal=project, it is simply project. NOTES
The site configuration is stored in /etc/dokuwiki/farm/SITE_NAME/, and the data is stored in /var/lib/dokuwiki/farm/SITE_NAME/, as indicated in the site configuration. In a virtual host-based setup, if you need to make a given site accessible at several URLs, you can symlink its configuration directory to another name (it is not necessary to symlink the data directory). If you need to rename a site, you can rename the configuration and data directories, and edit the configuration to point to the new data directory. BUGS
No check is done against the SITE_NAME, just avoid names like ../../../etc. Please report any bug to the Debian BTS. SEE ALSO
dokuwiki-delsite(1), http://www.dokuwiki.org/tips:farm AUTHOR
Tanguy Ortolo <tanguy+debian@ortolo.eu> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2011 Tanguy Ortolo This manual page was written for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at your option) any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. DokuWiki 05/18/2011 DOKUWIKI-ADDSITE(1)
All times are GMT -4. The time now is 11:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy