07-20-2010
vnc over an ssh tunnel Linux to Linux to Windows
I *think* what I want to do is not only possible but easy, but as a "dummy"
I can't figure it out. Here's what I have:
- Linux (Ubuntu 10.04) laptop that is not in my house, but has an Internet connection.
- Linux (Ubuntu 9.04) computer in my house that has unfettered access to the internet. I can (and do, frequently) ssh to from the outside world.
- Windows (XP) computer that is on the network with the Linux computer, but not set up to accept any connections from outside as I'm a little overly security minded.
I want to control the Windows computer from the Laptop via VNC, over the internet. I am already able to do this when the laptop is at home, but I'd like to also do this when away from home as well. I have heard rumblings that I can, through some trickery with SSH, piggyback a connection from the laptop, to the linux computer, and then get to the Windows computer, but other than being able to describe it (if I'm even able to do that. Let me know if any of this is confusing) I can't even start to think about HOW to do it.
Also, if there's an easier (yet still secure) way to do this, by all means I'm willing to learn.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
: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
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
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
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
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
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
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
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
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
LEARN ABOUT SUSE
ssh-copy-id
SSH-COPY-ID(1) General Commands Manual SSH-COPY-ID(1)
NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys
SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine
DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine (presumably using a login password, so password authentication should be
enabled, unless you've done some clever use of multiple identities)
It also changes the permissions of the remote user's home, ~/.ssh, and ~/.ssh/authorized_keys to remove group writability (which would oth-
erwise prevent you from logging in, if the remote sshd has StrictModes set in its configuration).
If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your
ssh-agent. Otherwise, if this:
ssh-add -L
provides any output, it uses that in preference to the identity file.
If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin-
gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory,
if necessary)
SEE ALSO
ssh(1), ssh-agent(1), sshd(8)
OpenSSH 14 November 1999 SSH-COPY-ID(1)