Sponsored Content
Operating Systems Linux Ubuntu SSH droping connections over a VPN Post 302355708 by lzcool on Wednesday 23rd of September 2009 12:47:29 PM
Old 09-23-2009
SSH droping connections over a VPN

Hello friends,

I'm connection to an external network using a VPN configured over an Ubuntu.

The problem is that whenever I get connected to a remote computer using my VPN as router, after a while, sometimes short, sometimes long, sometimes immediately, the connection gets lost and I've to reconnect to the remote computer.

I've checked the ssh configuration on the machine running the VPN and I think the error is not coming from that way, I'm guessing the VPN somehow fails and drops the connection, I don't think this is a networking issue either because I can be connected using another vpn program like Cisco's and the connection won't fail

Any information on how could I check where the SSH connection fails would be appreciated. also, if anyone has been in a similar situation and has information I might find useful would ve very welcome.

Thanks in advance
 

8 More Discussions You Might Find Interesting

1. BSD

ipfw slow ssh and ftp connections

just as the title says. thanks. #General Rule Sets /sbin/ipfw add 0300 check-state /sbin/ipfw add 0301 deny tcp from any to any in established /sbin/ipfw add 0302 pass tcp from any to any out setup keep-state /sbin/ipfw add 0303 pass udp from any to any out #SSH FTP /sbin/ipfw add 0400... (11 Replies)
Discussion started by: dwildgoose
11 Replies

2. AIX

Show number of SSH connections

I'm investigating an issue where rsync's to an AIX server will sometimes fail. I suspect the problem might be due to the number of simultaneous SSH connections being made to the host dropping the rsync attempts. I'd like to view the number of open ssh connections. The who command will list logged... (1 Reply)
Discussion started by: indiana_tas
1 Replies

3. UNIX for Advanced & Expert Users

Disallow new ssh connections for a while ?

Hello, What is the best way to disallow new ssh connections for the duration of my session ? I want to evade read/write collisions. Things work like that - one session put files on server, other copies these files and then deletes them. So in order to evade collision: - I check if there are... (1 Reply)
Discussion started by: vilius
1 Replies

4. UNIX for Advanced & Expert Users

Need Password-Less ssh with RSA-VPN

We have RSA SecureID softtoken key generator on my Windows machine. It generates new keys every 1 minute. Any HPUX server (be it ServerD or ServerP) requires my ID and the randomly generated RSA SecureID softtoken key from my Windows to login. I login to ServerD. Then I run a script... (0 Replies)
Discussion started by: mohtashims
0 Replies

5. UNIX for Dummies Questions & Answers

Need to test 100 ssh connections in parallel using loop and sleep? How to do that ?

Hello All, I want to test how much parallel ssh connections can be done on a server. I am thinking of reading username and hostname from a file and then using a loop (may be for) to do ssh on different host. Could anyone suggest me how can i write the script for the above. Thank you in... (0 Replies)
Discussion started by: ABHIKORIA
0 Replies

6. IP Networking

VPN ssh access over RDP port?

Guys, Can I use an open RDP port to gain ssh access to my Linux server running the other side of our firewall? I work from home on the odd occasion, we only have RDP port 3389 available once logged into the VPN. I would rather ssh into my workstation without the need for a desktop display. ... (3 Replies)
Discussion started by: general_lee
3 Replies

7. Solaris

How do I keep an X session alive when my VPN/ssh disconnects so I can reconnect later?

Hi, Sorry if this question has been asked before, however, I have tried looking in the forum (and google in general) and I haven't found an answer, so I thought I'd ask here. I am trying to use a GUI application in Solaris 10. Normally I connect with a VPN then SSH and use Xming to... (2 Replies)
Discussion started by: John_sp
2 Replies

8. UNIX for Beginners Questions & Answers

Assistance with testing ssh connections and what the return codes mean

Hello Forum, I'm using a bit of code from a script I found that allows me to capture the status code of connecting via SSH to remote servers: ssh -qno StrictHostKeyChecking=no -o ConnectTimeout=1 user@$InputIP 'ls -l /home/user >/dev/null 2>&1' > /dev/null 2>&1 status="$(echo $?)" echo... (4 Replies)
Discussion started by: greavette
4 Replies
VIRT-VIEWER(1)						User Contributed Perl Documentation					    VIRT-VIEWER(1)

NAME
virt-viewer - display the graphical console for a virtual machine SYNOPSIS
virt-viewer [OPTIONS] DOMAIN-NAME|ID|UUID DESCRIPTION
virt-viewer is a minimal tool for displaying the graphical console of a virtual machine. The console is accessed using the VNC protocol. The guest can be referred to based on its name, ID, or UUID. If the guest is not already running, then the viewer can be told to wait until is starts before attempting to connect to the console The viewer can connect to remote hosts to lookup the console information and then also connect to the remote console using the same network transport. OPTIONS
The following options are accepted when running "virt-viewer": -h, --help Display command line help summary -V, --version Display program version number -v, --verbose Display information about the connection -c URI, --connect=URI Specify the hypervisor connection URI -w, --wait Wait for the domain to start up before attempting to connect to the console -w, --reconnect Automatically reconnect to the domain if it shuts down and restarts -d, --direct Do not attempt to tunnel the console over SSH, even if the main connection URI used SSH. EXAMPLES
To connect to the guest called 'demo' running under Xen virt-viewer demo To connect to the guest with ID 7 running under QEMU virt-viewer --connect qemu:///system 7 To wait for the guest with UUID 66ab33c0-6919-a3f7-e659-16c82d248521 to startup and then connect, also reconnecting upon restart of VM virt-viewer --reconnect --wait 66ab33c0-6919-a3f7-e659-16c82d248521 To connect to a remote console using TLS virt-viewer --connect xen://example.org/ demo To connect to a remote host using SSH, lookup the guest config and then make a direct non-tunnelled connection of the console virt-viewer --direct --connect xen+ssh://root@example.org/ demo AUTHOR
Written by Daniel P. Berrange, based on the GTK-VNC example program gvncviewer. BUGS
Report bugs to the mailing list "http://www.redhat.com/mailman/listinfo/et-mgmt-tools" COPYRIGHT
Copyright (C) 2007-2008 Red Hat, Inc, and various contributors. This is free software. You may redistribute copies of it under the terms of the GNU General Public License "http://www.gnu.org/licenses/gpl.html". There is NO WARRANTY, to the extent permitted by law. SEE ALSO
virsh(1), "virt-manager(1)", the project website "http://virt-manager.org" perl v5.12.1 2010-01-15 VIRT-VIEWER(1)
All times are GMT -4. The time now is 10:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy